Link to milonic (Prof license)

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
hally
Beginner
Beginner
Posts: 5
Joined: Wed Sep 21, 2005 10:04 pm

Link to milonic (Prof license)

Post by hally »

I certainly feel stupid -- I had a question and so I read the forum guidlines which said ownload the newest code.

I did that, and now I have 2 questions -- I can't figure out how to get rid of the Milonic link. I spent a bunch of time clicking things at this site and also searched for 'link to milonic'.

My company bought a license, and I got my menu working fairly well. And now I've taken a step back.

Thanks for help with this so I can get to the real question.

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

Post by Ruth »

Hi,

You need to be logged in on the main site under the log in name you had when you first got the menu. It should download the newest version for your license. When you log in you should be able to go to the MyLIcenses section and it will tell you about the license. When was the license purchased?

Ruth
hally
Beginner
Beginner
Posts: 5
Joined: Wed Sep 21, 2005 10:04 pm

Milonic link in licensed version / menu widths in frames

Post by hally »

Thank you.

I asked our tech support to get it, the got it on Sept 27. I can see the license # etc in milonic.js. Maybe tech support has to give me the name/password?

I'm not sure I will be able to ask my question anyway, since our site isn't public. I thought I could paste a picture into my mail.... but I can't do that in this box.

My problem is: In IE, my submenu (vertical, in a frame), is wider than the main menu. The horizontal lines dividing the menu items are the width of the main menu. The menu items wrap when they come to the end of the horizontal line. But there is all this extra space on the right.

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

Post by Ruth »

You might try putting a non-breaking line space if there are multiple words in an item. Sometimes, not sure why, if there are multiple words in an item, they will wrap. Try something like this:

Code: Select all

aI("text=My Text Here;url=whatever.com;");
Without seeing the page, or having the page html, any css and the menu_data.js file, even if all links are removed from it, that's about all I can suggest.

If you are seeing the license number in the download you shouldn't have a link in the showing up in the menu. Is the license for the same domain?

You might contact Milonic about the license issue giving them the license # info and the problem.

Ruth
hally
Beginner
Beginner
Posts: 5
Joined: Wed Sep 21, 2005 10:04 pm

Vertical Sub menus have extra blank area at right, IE only

Post by hally »

Thank you Ruth, very much, for looking at this. The license problem is ok, I just needed to get our sign on info.
I am a programmer but don't know web development. I got my site up, using vertical menus and frames.
My problem is not that items on the submenu wrap. It is that each item has a lot of extra blank space to the right. The horizontal dividers for the items are as wide as the widest item, which is good. But the menu itself is about 50% wider than the widest item, and than the longest horizontal divider. It is also wider than the main menu.
This doesn't happen in Firefox.
Here's a sort of picture, but I ended up having to type [bg color] where I wanted to just show blank space.
------------------------------------
|Our Business [bg color..] |
|------------------ [bg color] |
|Phone Directory [bg colr] |
|------------------ [bg color] |
|Email Directory [bg colr] |
|------------------ [bg color] |
|Employee Birthdays [bg ] |
|------------------ [bg color] |
|In Our Community [bg c] |
------------------------------

I could email you a picture and promise to lose your email address immediately....
Here are excerpts from menu_data_side.js and menu_data_body.js

// Main in menu_data_side.js

with(milonic=new menuname("mainMenu")){
style=mainStyleVert;
top=0;
left=0;
itemwidth=127;
alwaysvisible=1;
aI("status=Back to Home Page;text=Home;url=main.html;target=main;");
aI("text=Who We Are;showmenu=who;target=main;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Human Resources;showmenu=hr;target=main;onfunction=openSubmenu();offfunction=closeSubmenu();");
.....
}

// Here are some mainStyleVert settings:
borderwidth=1;
separatorsize=2;
padding=4;


/// Submenu Definitions ///

with(milonic=new menuname("who")){
style=subStyle;
aI("text=Our Business;url=DynAccSys5.htm;");
aI("text=Phone Directory;url=who/PhoneDirectory.xls;target='';");
aI("text=Email Directory;url=who/Email.xls;target='';");
aI("text=Employee Birthdays;url=who/Birthday.doc;target=_new;");
aI("text=In Our Community;url=community.html;target=main;");
}

// Here are the subStyle settings that had numbers
with(subStyle=new mm_style()){
borderwidth=1;
separatorsize=1;
padding=1;
fontsize=15; /* changing this did not affect the submenu */
fontstyle="normal";
subimagepadding="0 0 0 10"; // I have tried changing that 10, didn't help
}
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Hally,

Try setting the width of the submenu.

Code: Select all

with(milonic=new menuname("who")){ 
style=subStyle; 
menuwidth=100;
or whatever amount you need for the width.

If that doesn't work, try setting the itemwidth to the size of the widest item and see if that will work.

Ruth
hally
Beginner
Beginner
Posts: 5
Joined: Wed Sep 21, 2005 10:04 pm

Menu Width -- Worked, Thank you

Post by hally »

Thank you very much. It is so frustrating when something almost works, there is only a tiny visual flaw. But you'ver clicked here, and clicked there and put all sorts of things in the search engine and you're sure there's an easy answer and it's just not coming up, and it's late, and you're not SUPPOSED to be spending all this time ....

Can I do something for you?

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

Post by Ruth »

HI Hally,

Not a problem, I have days like that all the time.

Check below my name and you'll see a list of links, especially the ones to the properties for the menu style, menu and item properties. Those are from the quick reference guide to the properties so you can see what is available.

Ruth
hally
Beginner
Beginner
Posts: 5
Joined: Wed Sep 21, 2005 10:04 pm

Post by hally »

I've just spent some time with the properties files -- Hope I will have time to try things out. Thanks. Hally
Post Reply