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

Fontsize problem with ASPX pages


Poster: pposiris
Dated: Saturday December 25 2004 - 23:04:16 GMT

Hello,

I have switched from ASP to ASP.Net. The Menu I use was perfectly displayed in ASP, but with the same code in ASP.Net the "Fontsize" command seems not working with the items in the Main horizontal Menu... and all items are displayed with a rather "big" fontsize.

I have no problem with the sub-menu items.

I use IE or AvantBrowser, and the very last Milonic menu version.

Any help will be appreciated...

Thanks in advance :?
pp


Poster: John
Dated: Sunday December 26 2004 - 3:06:51 GMT

Got a URL...?


Poster: pposiris
Dated: Sunday December 26 2004 - 13:29:34 GMT

John,

You can see the normal menu display with ASP at:
http://www.acropolis.org/ONU/eng/onu-eng.asp

And the strange ASP.Net effect at:
http://www.acropolis.org/ONU/eng/onu-eng.aspx

The menu files are exactly the same ones in both cases

Thanks
PP


Poster: John
Dated: Sunday December 26 2004 - 21:40:42 GMT

PP -

First things first. You're using a beta version of the script (RC50), which is ~70 or more versions down-level. Current is v5.65, which you'll need to pick up and install at http://milonic.com/. We can only support the most current version.

Make sure you read the files that come in the download, as some of the installation procedures and aI syntax have changed slightly.

Let us know how that goes.


Poster: pposiris
Dated: Monday December 27 2004 - 18:23:07 GMT

John,

I installed the LAST Milonic files on a test server an run my ASPX file... with exactly the same problem...

But I found a workaround. :)

If I set Fontsize=11; or Fontsize="11"; I have the "Big font" problem (display OK in ASP, and very big in ASPX)

But if I set Fontsize="70%"; everything is fine. I have the same good display in ASP and ASPX.

So,...I can work with it, but it would be interresting to understand the source of this behaviour.

Thanks anyway
PP


Poster: John
Dated: Monday December 27 2004 - 21:09:56 GMT

PP -

Where did you get menuweight=?

Even though it's the default, you might want to try specifying px, as fontsize="11px"; .
Code:
aI("text=Home page;showmenu=homepage;;oncolor=cc0000;onbgcolor=cccccc;offcolor=cc0000;offbgcolor=cccccc;;separatorsize=1")

Missing the #, and the statement close is incorrect...
Code:
aI("text=Home page;showmenu=homepage;oncolor=#cc0000;onbgcolor=#cccccc;offcolor=#cc0000;offbgcolor=#cccccc;separatorsize=1";);

Close will always be ";); . Also, the ;; can be changed to ; .


Poster: pposiris
Dated: Monday December 27 2004 - 21:36:57 GMT

John,

It works also with
Code:
Fontsize="11px";

It seems the default as pixel is not recognized on my system if I omit "px".

Thanks... and thanks also for make me pay attention to the missing "#" in the color code... you helped me to manage another problem I even was not aware of.

PP


Poster: John
Dated: Tuesday December 28 2004 - 3:23:50 GMT

You're welome.

Glad it's working.