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

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  How can I specify dimensions for the target="_blank" window?
PostPosted: December 3rd, 2009, 9:18 pm 

Posts: 16
Sometimes when I have target="_blank" the link is not opened on a new window, just a new tab. Someone told me that if I set the size of the new window, the open in tab setting would be overriden and I would get my new independant window. But where should I specify the new dimensions of the window?


Top
 Profile  
 
  Re: How can I specify dimensions for the target="_blank" window?
PostPosted: December 3rd, 2009, 9:45 pm 

Posts: 16
Although it is not 100% sure that it will work (browser settings have the last word), it is using javascript:
<a href="javascript:function openWindow(){window.open('http://www.scriptingok.com' ,'','width=400')}; openWindow();">new window</a>
http://www.scriptingok.com/forum/t5_690-New-windows-no-matter-tabs


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

FORUMS » Client Side » HTML


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