Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:20
Prepopulating the menu..
Poster: Gurumoorthy
Dated: Saturday October 26 2002 - 16:57:39 BST
Hi all,
Can anyone let me know how to show a submenu automatically ?
What i want is depending on page i want to show a submenu automatically...
Hope i am clear enuf ...
Thanks and Reagrds
Guru
Poster: kevin3442
Dated: Sunday October 27 2002 - 4:02:31 GMT
Guru,
You could try calling the menu's built-in popup() function with the onload event in the page's <body> tag. If I recall correctly, popup("menuname") opens the specified menu in its defined location, and popup("menuname", 1) opens the specified menu at the mouse pointer's current location (caution: this will generate a position error if the pointer is not within the browser window when popup() runs).
Hope that helps,
Kevin