Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18
Multiple menus on a page
Poster: steve __at__ jasper.net.au
Dated: Wednesday August 20 2003 - 7:03:27 BST
Hi
I would like to have multiple menus on a page - One a main menu on the side; the others would be menu's activated by a link. I have managed to get that working but there is a slight problem. Once you scroll down the page a little, the menu's suddenly appear a long way away from the links. You can see the effect at <http://www.photothrills.com/articles.html>. Place your mouse over the "Topside Gallery" link and see where the menu appears. Now, scroll down the page a bit and put your mouse over the same link. Note where the menu suddenly appears.
Any ideas on how to get the menus to stay with the links?
Any help most appreciated.
Best Regards
Steve
Poster: John
Dated: Wednesday August 20 2003 - 14:42:45 BST
I don't see any problem at all. The sub-menu follows the main menu exactly down the page. Even tried them all. IE6/XP Pro.
BTW, just to be picky, you actually have just one menu system on your site. Multiple menus would be, for instance, your existing vertical menu down the side (with subs), and the addition of a horizontal menu system across the top of the page. See http://tiggrsuccess.com/ as an example.
Poster: Hergio
Dated: Wednesday August 20 2003 - 17:29:30 BST
All menus rendered fine for me too. I only noticed the menu out of place when I used by scroll wheel on my mouse, but the menu immediately closed since I was off the link. You get a error when you mouseout of the search item on your side menu, just FYI.
Poster: steve __at__ jasper.net.au
Dated: Thursday August 21 2003 - 0:41:54 BST
Well, I now find that this seems to be OS/browser dependent. Under MacOS X 10.2.6 with IE 5.2.2 you will see the effect. Also, on this combination, the menu backgrounds become transparent. Under the same OS with NS 7.1 it works fine (after tweaking the code - see below). Under XP/IE6 the code tweak fixed the problem. Under XP/NS7.1 the code tweak fixed the problem.
BTW. I delved into the code for the popup() function and found that it can take up to four parameters (Not two as the documentation tells you). I changed the call to "popup('underwater',1,1,1)" and this fixed the problem with OS/Browser combos mentioned above. I haven't quite figured out what these other two parameters do but I will play around and see what happens.