JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CoolJSMenu popups not working in Netscape/Firefox

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
thomasonk



Joined: 07 Feb 2007
Posts: 4

PostPosted: Tue Feb 20, 2007 2:40 pm    Post subject: CoolJSMenu popups not working in Netscape/Firefox Reply with quote

I have recently setup CoolJSMenu on my website to make the menuing IE7-compatible. I am using popup menus and they work great in IE. However, I cannot get them to work in Netscape or Firefox. They do work in Netscape using the IE rendering engine but not with the Firefox engine.
These are the errors I am getting. The first message occurs when the page is displayed the other 2 occur when the popup is triggered.

Error: _2 has no properties
Source File: http://www.kindermorgan.com/javascript/coolmenupro294c.js
Line: 12

Error: window._18[_1] has no properties
Source File: http://www.kindermorgan.com/javascript/coolmenupro294c.js
Line: 12

Error: window._18[_1] has no properties
Source File: http://www.kindermorgan.com/javascript/coolmenupro294c.js
Line: 12


I only have a compressed version of the javascript file because I am working with a 'fixed' version for an issue I was having with the popups.
I don't really want to get into the code anyway.

Any help or ideas of what to look for would be greatly appreciated.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Wed Feb 21, 2007 4:06 am    Post subject: Reply with quote

Well, you've inserted menu initialization code between <table> and <tr> tags, and the menu felt itself somewhat lost. Just move the following two tags:
Code:
<script type="text/javascript" src="...coolmenupro294c.js"></script>
<script type="text/javascript" src="...www_global_menu.js"></script>

to some other place, e.g. right after <body> or right before </body>, i.e. no outer container other than <body>...</body>. This will solve the problem.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1