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:44
I'm just looking for a very fast menu
Poster: LToPiQ
Dated: Wednesday February 4 2004 - 9:19:56 GMT
Hi all,
I'm trying to make the milonic menu as fast as possible for my users. I don't want any "shadow effect", "follow lag" or anything like this, even it's "beautiful" : I want fast and fast and fast !
I'm not very satisfied with what I did. Is it possible to make it faster than I did ? Please find below the begin of my menu data file :
(Please not that I'll buy a license if the result seems ok)
Code:
_menuCloseDelay=250 // The time delay for menus to remain visible on mouse out, 250 default
_menuOpenDelay=0 // The time delay before menus open on mouse over
_followSpeed=5000 // Follow scrolling speed
_followRate=5000 // Follow scrolling Rate
_subOffsetTop=3 // Sub menu top offset
_subOffsetLeft=5 // Sub menu left offset
_scrollAmount=1 // Only needed for Netscape 4.x
_scrollDelay=1 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
valign="center";
align="left";
onbgcolor="#FFFFFF";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF"; // Background cells color
offcolor="#FFFFFF"; // Font color
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#FFFFFF";
separatorsize="1";
padding=5;
fontsize="8pt";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#FFFFFF"; // Background selected item
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="images/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.0)";
}
with(milonic=new menuname("Main Menu")){
//menuwidth="100%";
//menualign="center";
style=menuStyle;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
_menuOpenDelay=0 // The time delay before menus open on mouse over
_followSpeed=5000 // Follow scrolling speed
_followRate=5000 // Follow scrolling Rate
_subOffsetTop=3 // Sub menu top offset
_subOffsetLeft=5 // Sub menu left offset
_scrollAmount=1 // Only needed for Netscape 4.x
_scrollDelay=1 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
valign="center";
align="left";
onbgcolor="#FFFFFF";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF"; // Background cells color
offcolor="#FFFFFF"; // Font color
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#FFFFFF";
separatorsize="1";
padding=5;
fontsize="8pt";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#FFFFFF"; // Background selected item
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="images/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.0)";
}
with(milonic=new menuname("Main Menu")){
//menuwidth="100%";
//menualign="center";
style=menuStyle;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
Re: I'm just looking for a very fast menu
Poster: John
Dated: Wednesday February 4 2004 - 14:02:13 GMT
LToPiQ wrote:
I'm trying to make the milonic menu as fast as possible for my users. I don't want any "shadow effect", "follow lag" or anything like this, even it's "beautiful" : I want fast and fast and fast !
That's fine, and you came to the right place (this is a fast system), but...
You say you "don't want any shadow effect", but you left that code in place...
Code:
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.0)";
outfilter="randomdissolve(duration=0.0)";
Remove those lines.
Also, no "follow lag". From the snip you've posted (always post a URL, as requested), it does not appear you are using followscroll. Restore these items as they were (although it shouldn't matter)...
Code:
_followSpeed=5000
_followRate=5000
_scrollAmount=1
_scrollDelay=1
_followRate=5000
_scrollAmount=1
_scrollDelay=1
I'm not sure how you're going to use it, however, given you have everything white!
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
