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

onbgcolor sticks in netscape navigator 7.1

Poster: tseboe
Dated: Wednesday September 24 2003 - 0:19:42 BST


i have a menu that works very well in nn and ie BUT in nn (7.1) the second menu item from the bottom sticks on the onbgcolor even after the mouse has moved on. heres the code:

with(milonic=new menuname("Main Menu")){
aI("text=Home;url=http://www.***.com/;status=Back To Home Page;");
aI("text=Case Studies;showmenu=CaseStudies;url=http://www.***.com/casestudies.htm;");
aI("text=About IAS;showmenu=About;url=http://www.***.com/aboutus.htm;");
aI("text=Contact Us;url=http://www.***.com/contacts.htm;");

[problem code in bold]
[i've edited out the domain name]

the menu referred to (About) is here:

with(ias=new menuname("About")){
//aI("text=Engineer Profiles;url=#;");
//aI("text=Privacy Policy;url=#;");


[ive commented out the aI entries for now as those sections aren't needed right now - they're highlighted in bold]

could those commented out statements be the problem??? there's absolutely no problem in ie6.

thanks in advance


Poster: Maz
Dated: Wednesday September 24 2003 - 1:21:46 BST

Try not using # see if it helps.
I don't know about commenting out items.

Poster: Hergio
Dated: Wednesday September 24 2003 - 2:12:31 BST

Each menu MUST have at least one item in it. If you define a menu and comment out all the aI()'s that means there are no items in the menu and that will cause it to do things it shouldnt do. Also the # is fine, it just is a symbol referring back to the current page.

Side note to John G: See, I told you so! :lol:

(And please, you have commented out your domain name, but I sincerely hope you have a license to use the menu on your domain)

Poster: Maz
Dated: Wednesday September 24 2003 - 8:47:58 BST

Hi Dave,

does type=disabled have the same effect as commenting out?


Poster: tseboe
Dated: Wednesday September 24 2003 - 14:36:58 BST

wow, didn't mean to cause such a stir.

thanks again hergio (i knew the answer, i was just hoping there would be a way to comment everything out. the // comment tag seems to work well in submenus with other items).

hergio, it seems you answer most questions. are you a developer for milonic? yes, i'm licensed. i have a number, a receipt (of sorts), and my business checking account has been debited. if and when i use it again, i'll buy more. since i'm be using milonic for commercial purposes, if i did't license a copy, my client would be liable and that is not good business.

the reason i didn't include the domain is that i've been flamed in other (not milonic) forums for posting site reviews which can be a no no. just didn't want any problems.

maz - the # is documented as a null link. basically, the scipt is telling the browser that there is a link so treat it like one but it won't take you anywhere. it's useful to see how a link will look.

also, regarding your last post, instead of commenting out the items, i could have just used type=disabled to temporarily disable the submenu?

Poster: Hergio
Dated: Wednesday September 24 2003 - 17:51:58 BST

No stirring, just sayin how it is. :)

As far as I know, in the menus I have created, if I comment out all the items, the menu doesnt even may have changed with the newest RC, but I was just trying to eliminate all possible places for problems.

I try and answer them if I feel I can contribute something to solving the problem or expanding someone's knowledge of a subject. I don't think I am 'technically' employed by Milonic, per say, I mainly help out where I can and work closely at times with Andy and John. I've basically just gotten to know the menu pretty well, had some of my own experience to bring to the table and I just like helping people out and love the environment here.

Thats cool you're licensed. Just wanted to make sure. We kinda are trying to make sure most people we help are doing things offense to you. And its totally all right to keep your url private, I understand. Like i said, just makin' sure. ;)

Regarding the disabled thing, last I checked, when I set something to type=disabled, the menu no longer 'lit up' when I moused over it nor did I get the usual pointer mouse cursor, but I was still able to click it and get to the URL of the menuitem. Try it and see with RC11, I was using RC10 last time I tried it.