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 

Using js within a link

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



Joined: 06 Oct 2003
Posts: 2

PostPosted: Mon Oct 06, 2003 1:07 am    Post subject: Using js within a link Reply with quote

I wish to link to a popup window for a login box.
Currently using pro, and with this code to open a new window :

{code:"Log in",url:"/login.asp","format":{"size":[18,100]},"target":"new"},

However, I wish to use an onclick to an existing window function like so :

onClick="return logwin(this.href)"

Is it possible to integrate that into the url code?

Cheers!
Back to top
JackD



Joined: 06 Oct 2003
Posts: 2

PostPosted: Mon Oct 06, 2003 2:36 am    Post subject: Re: Using js within a link Reply with quote

Ahh - found something I can adapt in the faq
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