Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:07

frontpage? My bad? Please help :D


Poster: benchwarmer
Dated: Tuesday October 12 2004 - 21:51:16 BST

I JUST downloaded this script two days ago so I know I don't need to upgrade.

The menus display okay and I didn't have a problem embedding them into tables.

They have never displayed quickly - and now that I have them on a test page - they seem to only display if you go up or down to an alternate menu item and back.

Any assistance you can provide would be appreciated.

http://www.klocknermoeller.com/test.htm

Here is the code for the embedded menu:

menuCloseDelay=150 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=75 // The time delay before menus open on mouse over
_subOffsetTop=5 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize=12;
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
position="relative";
aI("text=Home;url=http://www.milonic.com/;status=Back To Home Page;image=home.gif;onfunction=item_on();offfunction=item_off();");
aI("text=Menu Samples;showmenu=Samples;onfunction=item_on();offfunction=item_off();");
aI("text=Milonic;showmenu=Milonic;onfunction=item_on();offfunction=item_off();");
aI("text=Partners;showmenu=Partners;onfunction=item_on();offfunction=item_off();");
aI("text=Links;showmenu=Links;onfunction=item_on();offfunction=item_off();");
aI("text=My Milonic;showmenu=My Milonic;onfunction=item_on();offfunction=item_off();");
}

with(milonic=new menuname("Samples")){
style=menuStyle;
aI("text=Horizontal Navigational Menu;url=/menusample1.php;");
aI("text=Vertical Navigational Menu;url=/menusample2.php;");
aI("text=All Horizontal Menus;url=/menusample25.php;");
aI("text=Using The Popup Menu Function Fixed Position;url=/menusample3.php;");
aI("text=Using The Popup Menu Function Positioned by Images;url=/menusample24.php;");
aI("text=Image Map Sample;url=/menusample4.php;");
aI("text=Multiple Styles;url=/menusample5.php;");
aI("text=Menus and Tool Tips;url=/menusample6.php;");
aI("text=Multiple Colored Menus;url=/menusample7.php;");
aI("text=Menu Items as Headers;url=/menusample8.php;");
aI("text=Windows XP Style Menus;url=/menusample12.php;");
aI("text=Windows 98 Style Menus;url=/menusample13.php;");
aI("text=Relative Positioning (Table Bound);url=/menusample9.php;");
aI("text=Follow Scrolling;url=/menusample10.php;");
aI("text=Opening Windows & Frames;url=/menusample11.php;");
aI("text=Hiding DIVs when displaying menus;url=/menusample14.php;");
aI("text=Activating MouseOver & MouseOut Functions;url=/menusample15.php;");
aI("text=Dynamic Dragable Menus;url=/menusample22.php;");
aI("text=Positioning with screenposition & offsets;url=/menusample23.php;");
aI("text=100% Width Span Menu;url=/menusample26.php;");
aI("text=Context Right Click Menu;url=/menusample27.php;");
aI("text=Static Images Sample;url=/menusample16.php;");
aI("text=Rollover/swap Images;url=/menusample17.php;");
aI("text=Menus built from images;url=/menusample18.php;");
aI("text=Images as Menu Backgrounds;url=/menusample19.php;");
aI("text=Background Menu Item Images;url=/menusample20.php;");
}

with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;onfunction=item_on();offfunction=item_off();");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;onfunction=item_on();offfunction=item_off();");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;onfunction=item_on();offfunction=item_off();");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;onfunction=item_on();offfunction=item_off();");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;onfunction=item_on();offfunction=item_off();");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;onfunction=item_on();offfunction=item_off();");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;onfunction=item_on();offfunction=item_off();");
}

with(milonic=new menuname("Partners")){
style=menuStyle;
aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;status=(aq) Web Server Hosting & Services;onfunction=item_on();offfunction=item_off();");
aI("text=SMS 2 Email;url=http://www.sms2email.com/;onfunction=item_on();offfunction=item_off();");
aI("text=WebSmith;url=http://www.softidiom.com/;onfunction=item_on();offfunction=item_off();");
}

with(milonic=new menuname("Links")){
style=menuStyle;
aI("text=Apache Web Server;url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic's Web Site;onfunction=item_on();offfunction=item_off();");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;status=MySQL, Milonic's Prefered Choice of Database Server;onfunction=item_on();offfunction=item_off();");
aI("text=PHP - Development;url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;onfunction=item_on();offfunction=item_off();");
aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;status=PHP Based Web Forum, Milonic's Recommended Forum Software;onfunction=item_on();offfunction=item_off();");
aI("text=Anti Spam Tools;showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;onfunction=item_on();offfunction=item_off();");
}

with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;onfunction=item_on();offfunction=item_off();");
aI("text=Mime Defang;url=http://www.mimedefang.org/;onfunction=item_on();offfunction=item_off();");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;onfunction=item_on();offfunction=item_off();");
}

with(milonic=new menuname("My Milonic")){
style=menuStyle;
aI("text=Login;url=http://www.milonic.com/login.php;onfunction=item_on();offfunction=item_off();");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;onfunction=item_on();offfunction=item_off();");
aI("text=Invoices;url=http://www.milonic.com/myinvoices;onfunction=item_on();offfunction=item_off();");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;onfunction=item_on();offfunction=item_off();");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;onfunction=item_on();offfunction=item_off();");
aI("text=Your Details;url=http://www.milonic.com/mydetails.php;onfunction=item_on();offfunction=item_off();");
}

drawMenus();


THANKS :D


Poster: Maz
Dated: Wednesday October 13 2004 - 3:03:41 BST

This appears to be similar to the last post with on and offfunction.

Maybe Kevin can figure it out. Any chance a draw menu in html would help?

maz


Poster: John
Dated: Wednesday October 13 2004 - 4:12:14 BST

Code:
with(new menuname("Main Menu")){

should be...
Code:
with(milonic=new menuname("Main Menu")){


Poster: benchwarmer
Dated: Wednesday October 13 2004 - 12:48:06 BST

I saw that error and fixed it - that didn't do it I am afraid.

I am going to make a page in notepad to test if this is a front page issues this morning. Thanks for your input.


Poster: benchwarmer
Dated: Wednesday October 13 2004 - 13:08:37 BST

Please find below the Error Messages I receive no matter what changes I make:

Line: 21
Char: 6147
Error: Object expected
Code: 0

Line: 21
Char: 6973
Error: Object expected
Code: 0


Poster: John
Dated: Wednesday October 13 2004 - 15:14:16 BST

Not sure what you're doing with these...
Code:
onfunction=item_on();offfunction=item_off();

Anyway, I removed them from the left main menu and left them in place in the right main menu at http://www.west.asu.edu/sa/testsite/. Note that the left menu now works as expected with no JS errors, while the right still fails as you described.


Poster: benchwarmer
Dated: Wednesday October 13 2004 - 15:27:42 BST

That did it!!!!

Thank you so much!!!

I suspected it might be that, but the reading on that setting was not very clear to me (not very technical) I can work with code, but not write it from scratch if that tells you anything.

Thank you thank you thank you :D


Poster: John
Dated: Wednesday October 13 2004 - 20:49:21 BST

Glad to hear it.

Tip - take it slow early on. Don't try to add everything in at once. One item at a time until it's the way you want it, then go for another.