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

NS4 Mouseoff appearance not using right font...


Poster: Shelby_NLC
Dated: Tuesday December 2 2003 - 2:55:18 GMT

Hello,

I just converted to v5 from v3 to fix problems with Safari, and am relieved I finally got that monkey off my back. Most everything is exactly how I want it, except for one detail. NS4 (I've used 4.79 specifically) shows the items that are not being moused over with the default font and size, but immediately changes to the desired font and size when moused over. Is there some way of making it look consistent whether or not I have the mouse on the item?

Here are some examples....

v3: http://www.shelby-city.k12.oh.us/
v5: http://www.shelby-city.k12.oh.us/home_page2.htm

Any help would be much appreciated!


Poster: Ruth
Dated: Tuesday December 2 2003 - 22:38:59 GMT

I think this might be a bug, because actually the font size is not changing, it's as if in the mouseoff position it's reading the 'bold' attribute as an underline and only seeing it as bold in the mouseon position. I'm not sure it's a bug, but it does the same thing for me, [of course I could be making the same error :) ] but I figure, if that's the only problem with NN4.79, I'll do a dance to the powers that be and cross my fingers ;)
Ruth


Poster: Andy
Dated: Wednesday December 3 2003 - 11:10:37 GMT

It might be something to do with the fact that you've unscrambled the source code files.


Poster: Ruth
Dated: Wednesday December 3 2003 - 18:47:14 GMT

I have no idea what that means. What source code files? for the menu? I don't know what they are let alone where they would be and if they were scrambled, so if I did that I have no idea how I did it. :lol:


Poster: Shelby_NLC
Dated: Thursday December 4 2003 - 0:04:18 GMT

What he means is that if you look at the source code for the menu (such as milonic_src.js), you'll see that the code has been "compressed". This means that the code has many many statements on single lines. While this is ok with a finished product, if you are in development of a script you would be faced with an impossible task of reading the code. I "uncompressed" it using a program that tidies up the code giving it standardized structure (i.e. consistent indenting) so I could look at it and see if I could find any obvious problems whether they were caused by myself or not.

I should have mentioned this in my previous post that I did make this modification of the code, but only after I was having this very problem with NS4. After a bit of playing I finally visited the main Milonic page and saw they too have the exact same issue with NS4 so it wasn't necessarily anything that I did. I would still be interested in knowing if there is anything that I could do to fix this.


Poster: John
Dated: Thursday December 4 2003 - 2:36:48 GMT

innkeeper9 wrote:
I have no idea what that means. What source code files? for the menu?

Andy was not directing that comment at you, Ruth.


Poster: Andy
Dated: Thursday December 4 2003 - 7:55:36 GMT

An upgrade was released yesterday with a fix.


Poster: Shelby_NLC
Dated: Thursday December 4 2003 - 12:27:28 GMT

You guys are awesome! Yes, it now works perfectly just as I wanted all along! Consider this issue resolved....