1
jfernau
Javascript menu not working in Firefox when added to theme.html
  • 2004/7/9 18:11

  • jfernau

  • Just popping in

  • Posts: 95

  • Since: 2003/12/29


I hope someone here can help me. I'm at my wits end. I'm trying to set up a new website for my church. My pastor really likes the look of the horizontal dhtml menus. I tried without success (so far) to get tigra working (plus, it appears that it only understands absolute positioning, and I need relative). I tried building a menu with the Coffee Cup DHTML menu builder. It creates a ton of code that goes directly into your page, anywhere within the body. Menu works with IE and Firefox. I pasted the code into my theme.html file (not correctly positioned yet, but it's on the page). Showed up fine in IE, but does not show up at all in Firefox. I put just the menu code in a separate html file, and it works fine with either browser.

I have to have this site completed before Sunday morning. I still have a lot of content to put in, but it won't matter if I don't have a working menu. If anyone could take a look at it, I would sure appreciate it.

The site is at www.dconline.org. The site is closed (pastor let the new url leak early), but I have created an account for you to log in with - test / test.

The menu code is pasted in directly after the <body> tag.

To see the menu working in mozilla / firefox, you can go to menu test and see it in action.

If anyone has any suggestions on something else that would provide the needed funtionality, I'm open to that as well. I just need to get something working fast.

Thanks in advance.

John

2
davidl2
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/7/9 19:37

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Try visiting: this site - as your html seems to have a few errors... perhaps this is upsetting Firefox?

3
deepti
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/24 4:08

  • deepti

  • Just popping in

  • Posts: 24

  • Since: 2004/8/22


I have the same problem as mentioned above, I would like to create drop down menus horizontally. I also used Coffee Cups DHTML menu to create drop down menus, it gives me a lot of java scripting code to put in. I made a center block and put the code in it. It dosent work properly.

I want the horizontal menu exactly similar to this website:

http://www.dconline.org/modules/tinycontent/index.php?id=1

Please Help

4
deepti
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/24 4:11

  • deepti

  • Just popping in

  • Posts: 24

  • Since: 2004/8/22


I have the same problem as mentioned above, I would like to create drop down menus horizontally. I also used Coffee Cups DHTML menu to create drop down menus, it gives me a lot of java scripting code to put in. I made a center block and put the code in it. It dosent work properly.

I want the horizontal menu exactly similar to this website:

http://www.dconline.org/modules/tinycontent/index.php?id=1

Please Help

5
Bassman
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/24 4:38

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Well, if you view the page source it may give you some idea how he achieved it:

Quote:

<script type="text/javascript">
<!--
//--></script><script type="text/javascript" src="http://www.dconline.org/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script>
<script type="text/javascript" src="http://www.dconline.org/themes/dc/menu/coolmenupro.js"></script>
<script type="text/javascript" src="http://www.dconline.org/themes/dc/menu/menuitems.js"></script>
</head>

6
deepti
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/24 5:02

  • deepti

  • Just popping in

  • Posts: 24

  • Since: 2004/8/22


Thanks for the quick reply.

I am confused how to create something like this.

From the source this is the script for the DHTML menu:

I could copy the same thing for mine here

<link rel="stylesheet" type="text/css" media="all" href="http://www.dconline.org/xoops.css" />

But how do I create something similar to style.css, coolmenupro.js and menuitems.js


<link rel="stylesheet" type="text/css" media="all" href="http://www.dconline.org/themes/dc/style.css" />
<script type="text/javascript">
<!--
//--></script><script type="text/javascript" src="http://www.dconline.org/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script>
<script type="text/javascript" src="http://www.dconline.org/themes/dc/menu/coolmenupro.js"></script>
<script type="text/javascript" src="http://www.dconline.org/themes/dc/menu/menuitems.js"></script>

Thanks.

7
jfernau
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/24 12:13

  • jfernau

  • Just popping in

  • Posts: 95

  • Since: 2003/12/29


deepti,

I tried using CoffeeCup as well, and in addition to havin gproblems with it, it made my page very large, which would be a problem for people with slow connections. The problem I had above was using Tigra menu. I believe there is a workaround, but I didn't find out about it until I had already switched to COOLjsMenu Pro, which worked great for me. You can find it athttp://javascript.cooldev.com/scripts/coolmenu/.

Good luck.

John

8
deepti
Re: Javascript menu not working in Firefox when added to theme.html
  • 2004/8/25 17:22

  • deepti

  • Just popping in

  • Posts: 24

  • Since: 2004/8/22


Thanks John.

Hope it works great for me too.

Thanks again.

Login

Who's Online

133 user(s) are online (76 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits