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 

javascript:none() - ERROR

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





PostPosted: Tue Jun 24, 2003 2:33 pm    Post subject: javascript:none() - ERROR Reply with quote

Hello All.

The top level of my menu gives an error when clicked because it has javascript:none() as the URL? when you hover over it. Any suggestions on what I should set my top level to, as a link so that I don't get an error.

Thanks,

-G-
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Tue Jun 24, 2003 3:49 pm    Post subject: Reply with quote

Simpliest solution to your problem is the following line.
Code:
function none() {}

Just insert this line somewhere at the top of menu_items.js.
Back to top
Beekeeper
Guest





PostPosted: Tue Jun 24, 2003 4:02 pm    Post subject: THANKS! Reply with quote

Works like a charm!

Thanks.

-G-
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