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: Saturday July 14 2012 - 06:07:33
Problem: Submenu multiple options highlited
Poster: ricgomez
Dated: Saturday March 29 2003 - 0:04:53 GMT
Hi:
I'm testing the menu but i´m getting an strange result. WHen using submenus, when scrolling with the mouse over the submenus, all the options become highlighted. Any ideas on how to solve this.
I posted the test page so you can see the problem to help me.
It is located at http://mediciontv.uniandes.edu.co/menu/menu.htm
It´s the demo modified to show submenus.
Thanks for your help
The Jscript code follows:
addmenu(menu=[
"Fases", // Menu Name - This is needed in order for this menu to be called
200, // Menu Top - The Top position of this menu in pixels
10, // Menu Left - The Left position of this menu in pixels
100, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ScrollingSampStyle, // Properties Array - this array is declared higher up as you can see above
1, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
, // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0, // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Background image for menu Color must be set to transparent for this to work
0, // Scrollable Menu
, // Miscellaneous Menu Properties
,"Fase 1","show-menu=Fase1","#",1,1
,"Fase 2","show-menu=Fase1","#",1,0
])
addmenu(menu=[
"Fase1",
,
,
135,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Etapa 1","show-menu=Etapa1Fase1","#",,0
,"Etapa 2","show-menu=Etapa2Fase1","#",,0
,"Etapa 3","show-menu=Etapa3Fase1","#",,0
,"Etapa 4","show-menu=Etapa4Fase1","#",,0
,"Etapa 5","show-menu=Etapa5Fase1","#",,0
])
addmenu(menu=[
"Etapa1Fase1",
,
,
180,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Scan a web Server","/probe.php",,,1
,"Domain Name Lookup","/whois.php",,,1
])
addmenu(menu=[
"Etapa1Fase2",
,
,
180,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Scan a web Server","/probe.php",,,1
,"Domain Name Lookup","/whois.php",,,1
])
dumpmenus();