Menu setup values, or what ever they are called?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Brannmark
Super Advanced
Super Advanced
Posts: 31
Joined: Mon Aug 25, 2003 4:33 pm

Menu setup values, or what ever they are called?

Post by Brannmark » Wed Aug 27, 2003 4:23 pm

_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x

This values, can they be set for each menu, or are they for every menu on the page???

Just wondering as how I should set this up in the asp code, if I should loop a recodset or just print whats on the first recodset position...

/Anders

User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Menu setup values, or what ever they are called?

Post by John » Wed Aug 27, 2003 6:19 pm

Brannmark wrote:_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x

This values, can they be set for each menu, or are they for every menu on the page???
Here's the way I 'think' it is (from the top down)...

1 & 2 - global (unless there's something in an effect/filter I haven't seen yet)
3 & 4 - individual, as followscroll="1,100,2", for instance
5 & 6 - individual
7 & 8 - global

See the complete parameter listings on the main site for more details.
John

User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio » Thu Aug 28, 2003 4:12 am

They are all global in the sense that all the menus reference them if need be...aka all the menus will have the same suboffsets. But I havent gotten a chance to check this yet (but I will tomorrow morning), but I will see WHEN the menus access these variables. If they access when they are created, then it would be okay to reset them inbetween menus and you could get menus, for example, that have different suboffsets. But if they are referenced when the menu is opened, then you cant change them individually.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."

User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John » Thu Aug 28, 2003 2:57 pm

My definitions were probably bad. By 'global' I meant I do not think those items can be changed on an individual menu basis. 'Individual' meant those parameters can be changed for individual menus.
John

Post Reply