Embedded menus in NS 4.7

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Embedded menus in NS 4.7

Post by dishmann »

First, The menus DO work in NS 4.7 with relative positioning (embedded in a table cell)

However, in order to make "my" menu headers stand out, I have embedded html code in the text for the menu headers:

Example: aI("text=<font style=\"font-size:18px\"><b>Products</b></font>;type=header;");

NS 4.7 does not like that at all. Page Loads extremely slow. Status bar shows "javascript error"

Obviously I'm being creative with the "text" attribute of AI but it works in the other browsers I can test with (MSIE 5.5+, NS7.1) with out a problem.


Any suggestions ????
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

Why don't you stick with the menu item properties as defined on the Main milonic site :?:
They will give you all the properties for the text that you are trying to achieve. The link is: http://milonic.com/itemproperties.php

regards
4viggo
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Continuation

Post by dishmann »

I made the changes to the "ai" string, the menus load/display but terribly slow (appx) 15~25 seconds

Thanx for the tip re: menuitem properties. I did not even think to look there,

If you like, check out the site (main page) in NS 4.7 and you'll see what I mean comparing it to modern browsers.

I hope it is something I am doing that needs correction. I can not see why NS 4.7 is behaving like that (other than it is the MOST finicky browser in the world).
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

It will help us a lot if you can give us a URL.

If you've got an error then something isn't working quite right. Could be something silly but without actually seeing it, can't say for sure.

Cheers
Andy
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Continued

Post by dishmann »

Oops

http://www.gen-e-sys.com (Main Page: default.asp)

menu for sub pages seems to be OK

Currently no server (ASP/PHP) code is written for the main page (even though it is an asp page) but soon there will be.

Thanx
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

The images can be embedded inside the menu as in the following sample:

Code: Select all

aI("text=Project Organizer;url=Projects/default.htm;status=Tool for keeping track of your Home or Crafts Projects;image=images/BulletBall.gif;");
You can also declare image dimensions, positioning and add rollover images too if you need to.

It's always better to let the menu do all the hard work with images etc. That way we know it will work cross browser

Cheers
Andy
dishmann
Beginner
Beginner
Posts: 8
Joined: Thu Oct 09, 2003 8:46 pm

Thanx

Post by dishmann »

Yes Andy I'm begginning to see the light.

I guess its just bad habits I picked up trying to make other menu's work they way I wanted them to BEFORE I bought the milonic menu that really does it all.

Thanx for your help.
Post Reply