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:04
Submenus Misbehaving in Evaluation?
Poster: deronidavin
Dated: Thursday June 1 2006 - 23:02:56 BST
Howdy!
I'm running a test site with the evaluation version of the menus in order to try 'em out for a possible commercial application for a client. However, the submenus are behaving wildly! They'll work occasionally on the initial pageload, but it seems like the Milonic-replacement function is somehow boning them. Is this normal? Or have I screwed something up? This doesn't seem to happen on the sample sites online, but once I download them and transplant the exact same menu code into another page they mess up.
Here's the two menus that cause the issue:
Code:
with(milonic=new menuname("Links")){
style=menuStyle;
aI("showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;text=Anti Spam Tools;");
aI("status=Apache Web Server, the basis of Milonic's Web Site;text=Apache Web Server;url=http://www.apache.org/;");
aI("status=MySQL, Milonic's Prefered Choice of Database Server;text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("status=PHP - Web Server Scripting as used by Milonic;text=PHP - Development;url=http://www.php.net/;");
aI("status=PHP Based Web Forum, Milonic's Recommended Forum Software;text=phpBB Web Forum System;url=http://www.phpbb.net/;");
aI("showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;text=Anti Spam Tools;");
}
with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}
style=menuStyle;
aI("showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;text=Anti Spam Tools;");
aI("status=Apache Web Server, the basis of Milonic's Web Site;text=Apache Web Server;url=http://www.apache.org/;");
aI("status=MySQL, Milonic's Prefered Choice of Database Server;text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("status=PHP - Web Server Scripting as used by Milonic;text=PHP - Development;url=http://www.php.net/;");
aI("status=PHP Based Web Forum, Milonic's Recommended Forum Software;text=phpBB Web Forum System;url=http://www.phpbb.net/;");
aI("showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;text=Anti Spam Tools;");
}
with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}
I am displaying them on this image:
Code:
<img src="images/navstg.gif" alt="" border="0" name="stg" id="stg" onmouseover="popup('Links','stg')" onmouseout="popdown()" />
Poster: Migru
Dated: Friday June 2 2006 - 10:09:05 BST
Hi
Quote:
but once I download them and transplant the exact same menu code into another page they mess up.
which menu sample - no. is it please ? And would you please provide your url?
Michael
Poster: deronidavin
Dated: Friday June 2 2006 - 17:28:55 BST
I have no clue how to check the sample number. Adding the milonic link to the text removed the milonic-replacement, but the submenus are still behaving erratically. Does it have something to do with the menus remaining open even when the cursor leaves their area?
http://www.navistudios.net/stgtest/menutable.html
Poster: Migru
Dated: Saturday June 3 2006 - 11:42:00 BST
Hi
I think it is based on this
http://www.milonic.com/menusample24.php
and it is better to follow suggestions how to do it, based on that sample.
Please check.
But my suggestion for a menu in a table is to do it that way:
http://www.milonic.com/tablemenu.php
Michael