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:59
Embedded menus in NS 4.7
Poster: dishmann
Dated: Friday October 31 2003 - 11:56:42 GMT
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 ????
Poster: 4viggo
Dated: Friday October 31 2003 - 23:04:48 GMT
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://www.milonic.com/itemproperties.php
regards
4viggo
Continuation
Poster: dishmann
Dated: Tuesday November 4 2003 - 14:49:55 GMT
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).
Poster: Andy
Dated: Tuesday November 4 2003 - 15:54:08 GMT
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
Continued
Poster: dishmann
Dated: Tuesday November 4 2003 - 20:06:07 GMT
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
Poster: Andy
Dated: Wednesday November 5 2003 - 18:54:07 GMT
Hi,
The images can be embedded inside the menu as in the following sample:
Code:
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
Thanx
Poster: dishmann
Dated: Thursday November 6 2003 - 19:17:14 GMT
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.