Forum Moderators: not2easy

Message Too Old, No Replies

Drop Down Menu - Suckerfish!

PLEASE HELP - need to have a fix soon

         

K199a

7:28 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



I have been trying to make a drop down menu following suckerfish tutorial which has worked out fine! but I want to have two vertical menus on the same page in different positions I thought I would just have to repeat the tutorial but I cant get it to work any help would be gratefully appreciated. Its not to do with the IDs, because I made sure I had two sets.

Can some help me on this, I have spent all day so far and looked all over Google for a solution.

coopersita

8:41 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



It doesn't work in any browser?

In theory you should only need to have two lists. Each one with its own id, and just duplicate the css for each one...

Also, so it works in IE, you need to have the if statement of the javascript twice. On each one change the line:

navRoot = document.getElementById("nav");

Substitute "nav" for each one of your ids.

What happens when you try to implement it?

K199a

9:44 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



Thanks Coopersita, But this has not sorted the problem, it works fine in FireFox which is to be expected. But IE will only show one of them working.

I would like to see an example working some where? or some code, the problem I feel is with Java Script.

coopersita

11:45 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



Why don't you post the javascript? It may help us see where the problem is?