Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 7:54 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  help to make multiple new windows
PostPosted: August 5th, 2009, 5:32 pm 

Posts: 25
got this from the web, the problem is that i want to open a new window for each link and not just one window for all of the links, what should i change? or should i make a different script?
<a href="#" onFocus="this.blur()" onClick="NewWindow=window.open('my.html','NewWindow','toolbar=no,location=no,directories=no,status=n o,menubar=no,scrollbars=no,resizable=no,width=300,height=300'); return false;" onmouseover="parent.status='my page' ; return true"><img src="my.jpg" width="36" height="36" border="1" alt="my jpg" /></a>


Top
 Profile  
 
  Re: help to make multiple new windows
PostPosted: August 5th, 2009, 5:40 pm 

Posts: 96
Just removed the NewWindow that was inside the quotes
<a href="#" onFocus="this.blur()" onClick="NewWindow=window.open('my.html','','toolbar=no,location=no,directories=no,status=n o,menubar=no,scrollbars=no,resizable=no,width=300,height=300'); return false;" onmouseover="parent.status='my page' ; return true"><img src="my.jpg" width="36" height="36" border="1" alt="my jpg" /></a>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron