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:15
MILONIC Link and other issues
Poster: skmyers5
Dated: Wednesday February 8 2006 - 17:01:43 GMT
I have used passed versions of Milonic menus and have purchased a passed version. I have been working with the new version (which is much easier so far) than it used to be to edit.
However, I am having a few issues I'm hoping to get help with.
1) Do I need to purchase the new version if I have purchased an older version, which coincidentaly didn't get used.
2) The very first menu button of mine, "Standards" is disappearing as the page refreshes and being replace with "MILONIC" which also gets rid of my drop down submenu. I've seen one post about something like this, but it did not correct my situation. Why is this? Can it be fixed?
3) My submenus are not using their correct length on my test site but show up correctly in the Milonic example I have tested with. Basically the background images should be 150pixels or so wide, but not coming out like that. Instead I am getting shorter sub-menus with word-wrapping text on my buttons.
Any help is greatly appreciated.
Stephen
site is internal at the moment or I'd post a link.
Re: MILONIC Link and other issues
Poster: vikenk
Dated: Wednesday February 8 2006 - 19:11:50 GMT
skmyers5 wrote:
1) Do I need to purchase the new version if I have purchased an older version, which coincidentaly didn't get used.
I can't answer that for sure, but my guess is: probably :>)
Quote:
2) The very first menu button of mine, "Standards" is disappearing as the page refreshes and being replace with "MILONIC" which also gets rid of my drop down submenu. I've seen one post about something like this, but it did not correct my situation. Why is this? Can it be fixed?
If you're using the free version of the menu, you need to place the link back to Milonic somewhere on your page or the forced Milonic button appears, like what you're experiencing. The syntax is included with the menu download.
Quote:
3) My submenus are not using their correct length on my test site but show up correctly in the Milonic example I have tested with. Basically the background images should be 150pixels or so wide, but not coming out like that. Instead I am getting shorter sub-menus with word-wrapping text on my buttons.?
Without actually seeing the site/menu, I will mak an educated guess that you may have a menuwidth or itemwidth command in there that's restricting the size of the submenu and causing the word wrapping.
Can you post some code?
Poster: skmyers5
Dated: Wednesday February 8 2006 - 19:19:24 GMT
This code works correctly when it's in a straight up html page. However, I am using it in a .php page that is included in our test-site. The submenus shorten themselves more than they should when in the test-site, giving me the text-wrapping.
-------------------------------------------------------------------
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=100;
_subOffsetLeft=20;
with(background=new mm_style()){
bgimage="sub1.jpg";
borderstyle="solid";
fontfamily="Helvetica";
fontsize="10";
fontstyle="normal";
fontweight="bold";
image="transparent.gif";
imagepadding=0;
itemheight=26;
orientation="horizontal";
itemwidth=170;
offcolor="#333300";
oncolor="#ffffff";
overbgimage="sub2.jpg";
separatorcolor="transparent";
separatorsize=0;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
align="center"
itemheight=26;
itemwidth=129;
left=23;
style=background;
top=85;
aI("bgimage=bgimage_dark.jpg;;overbgimage=bgimage_light.jpg;showmenu=standards;text=Standards;");
aI("bgimage=bgimage_dark.jpg;;overbgimage=bgimage_light.jpg;showmenu=downloads;text=Downloads;");
aI("bgimage=bgimage_dark.jpg;;overbgimage=bgimage_light.jpg;showmenu=training;text=Training;");
aI("bgimage=bgimage_dark.jpg;;overbgimage=bgimage_light.jpg;status=Back To Home Page;text= Links & Resources;url=http://www.milonic.com/;");
}
with(milonic=new menuname("standards")){
style=background;
orientation="horizontal";
align="center"
itemheight=26;
itemwidth=140;
left=20;
top=33;
aI("text=GSA-Standards;url=gsaStandards.php;");
aI("text=ISC-Standards;url=iscStandards.php;");
aI("text=PBS-Standards;url=pbsStandards.php;");
aI("text=UFC-Standards;url=ufcStandards.php;");
aI("text=Additional-Standards;url=additionalStandards.php;");
}
with(milonic=new menuname("downloads")){
style=background;
orientation="horizontal";
align="center"
itemheight=26;
itemwidth=170;
left=130;
top=110;
aI("text=WV-Downloads;url=http://www.milonic.com/cbuy.php;");
aI("text=Perimeter-Downloads;url=http://www.milonic.com/contactus.php;");
aI("text=PC-Downloads;url=http://www.milonic.com/newsletter.php;");
aI("text=ISC-Downloads;url=http://www.milonic.com/menufaq.php;");
aI("text=Misc. Downloads;url=http://www.milonic.com/forum/;");
}
with(milonic=new menuname("training")){
style=background;
orientation="horizontal";
align="center"
itemheight=26;
itemwidth=129;
left=230;
top=110;
aI("text=Firefighter;url=http://www.milonic.com/cbuy.php;");
aI("text=STANDGARD;url=http://www.milonic.com/contactus.php;");
aI("text=DST-ISC;url=http://www.milonic.com/newsletter.php;");
aI("text=Guidelines;url=http://www.milonic.com/menufaq.php;");
aI("text=All-Training;url=http://www.milonic.com/forum/;");
}
drawMenus();
---------------------------------------------------------------------
Thanks for the help
Stephen
Poster: vikenk
Dated: Wednesday February 8 2006 - 20:21:32 GMT
Hmmm...I know little about php. Could the php page be generating a table style that is overriding your menu styling?
Maybe Ruth or John will have a better answer.
Sorry.
Poster: Migru
Dated: Wednesday February 8 2006 - 21:41:08 GMT
Hi
one issue is
fontsize="10";
try if something improves when
setting fontsize="10px";
Michael
Poster: Ruth
Dated: Thursday February 9 2006 - 1:48:16 GMT
Hi,
Try using the menuheight property. Also, I've found if items wrap for some unknown reason, if I insert a non-breaking line space instead of a regular space between words, that usually stops the wrapping.
e.g.
Code:
Hello Everyone
You need to contact Milonic directly about the license issue. If your other license you purchased is still in force, then you should be able to just upgrade. But you do need a license, either a free one if you qualify, or a professional or higher depending on your circumstances.
Ruth