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

offbgcolor does not return when mouse moves on


Poster: chiage
Dated: Friday September 17 2004 - 23:49:31 BST

Just converted a multi-level swap-image-based version 3 menu to version 5+ and have resolved all the niggling display problems with the exception of this:
When the mouse moves onto an item, it correctly swaps images and background colors. When the mouse moves to another menu item, the swap image function works on the original item and replaces the over image with the off image, but the background color around the image does not change back to the offbgcolor. The resulting off image is bordered by a wide swath of onbgcolor and it looks pretty (pardon the expression) crappy. This was not an issue with version 3. Anyone know how I can fix it?
Thanks!
Chiage


Poster: Ruth
Dated: Sunday September 19 2004 - 6:22:13 BST

Hi,
A url, or test page if the site isn't up, would be extremely helpful so we can see your code to see if there's a problem, see which version you are using etc. Have you checked on the image rollover sample to see if it is working for you http://www.milonic.com/menusample17.php and which browser and OS are you using?

Ruth


Poster: chiage
Dated: Sunday September 19 2004 - 22:17:59 BST

Hi Ruth,
Thanks for responding. The sample page is posted:
http://www.battle-creek.net/test/nl_302 ... oning.html
The links on that page won't work because it is in a different folder, but you will be able to see the display problem (offbgcolor color doesn't come back when the mouse moves on.) If you look at the same page done with version 3, you'll see the difference:
http://www.battle-creek.net/nl_302_table.html

Another issue: I am trying to find out how to set the width of the tool tips so the text wraps within a width-defined box instead of spreading across the page in one line. Setting the width within the tooltips.js file does not work. Any ideas? I see that the text in the tool tips on the Milonic tool tips sample page does wrap, so there must be a way.

Thanks for offering to help- Chiage


Poster: John
Dated: Monday September 20 2004 - 0:53:36 BST

You'll need to fix some of your paths so we can see it...
Code:
src="file:///C|/battle-creek_copy/milonic_src.js", etc.


As for tip width, did you look at the sample _data file that comes with the download? Clearly shows Milonic's use of the <br> tag to control width.

chiage wrote:
Setting the width within the tooltips.js file does not work.

Changes made to any of the menu code files will void the license and deny support. We're here to help, but that is not possible if any changes are made to the code.


Poster: Ruth
Dated: Monday September 20 2004 - 2:31:24 BST

In the tooltips you can set the size using itemwidth= if you are asking about that parameter. As for the other you'll need to fix the paths so we can get the files to see what's going on.

Ruth


Poster: chiage
Dated: Monday September 20 2004 - 2:38:52 BST

I thought M_maxWidth= was considered a "user definable parameter" in the tooltips.js file. No? At any rate, thanks for the tip on wrapping text. Have a nice weekend.


Poster: Ruth
Dated: Monday September 20 2004 - 2:47:00 BST

Thanks, you also, dont' forget to fix the paths for the page so we can see the files. You've still got the desktop paths listed so the menu is not showing.

Ruth


Poster: chiage
Dated: Monday September 20 2004 - 4:34:25 BST

Hi Ruth,
Weird, but when the is page on the server, the bgcolor does swap back when the mouse mouses on. Wouldn't do it when I previewed it on my box. Go figure...

I am a novice with all this coding, so I appreciate your kindness!


Poster: chiage
Dated: Saturday September 25 2004 - 16:09:13 BST

Ruth, when you have a moment, can you please take a look at the menu on my test page and let me know if it displays properly now? The links themselves will 404 because the test page is in a different folder than my site pages. Just want to make sure you don't get any scripting errors when you access the page:
http://www.battle-creek.net/test/nl_302 ... oning.html
Thank you!
Chiage


Poster: Ruth
Dated: Saturday September 25 2004 - 16:34:33 BST

Hi,
I did look at it, and replied to your email. I'll send another. I don't get any js errors on anything but I have some other questions in the email.

Ruth