MILONIC Link and other issues

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
skmyers5
Beginner
Beginner
Posts: 2
Joined: Wed Feb 08, 2006 5:55 pm

MILONIC Link and other issues

Post by skmyers5 »

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.
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Re: MILONIC Link and other issues

Post by vikenk »

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 :>)
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.
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?
skmyers5
Beginner
Beginner
Posts: 2
Joined: Wed Feb 08, 2006 5:55 pm

Post by skmyers5 »

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://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://milonic.com/cbuy.php;");
aI("text=Perimeter-Downloads;url=http://milonic.com/contact.php;");
aI("text=PC-Downloads;url=http://milonic.com/newsletter.php;");
aI("text=ISC-Downloads;url=http://milonic.com/menufaq.php;");
aI("text=Misc. Downloads;url=http://forum.milonic.com/;");
}

with(milonic=new menuname("training")){
style=background;
orientation="horizontal";
align="center"
itemheight=26;
itemwidth=129;
left=230;
top=110;
aI("text=Firefighter;url=http://milonic.com/cbuy.php;");
aI("text=STANDGARD;url=http://milonic.com/contact.php;");
aI("text=DST-ISC;url=http://milonic.com/newsletter.php;");
aI("text=Guidelines;url=http://milonic.com/menufaq.php;");
aI("text=All-Training;url=http://forum.milonic.com/;");
}

drawMenus();
---------------------------------------------------------------------
Thanks for the help
Stephen
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

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. :(
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

one issue is

fontsize="10";

try if something improves when

setting fontsize="10px";


Michael
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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: Select all

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
Post Reply