Welcome visitor
* Login
* Register
It is currently July 24th, 2019, 5:04 am
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
  size of the popup window
PostPosted: April 27th, 2009, 9:43 pm 
User avatar

Posts: 42
hi, one simple question i guess. I have this code to open a pop-up window

<a href="javascript:popup('http://www.site.com');">New window</a>

function popup(url)
{window.open(url,'_balnk');}


how can i control the size of the new window? thanks.


Top
 Profile  
 
  Re: size of the popup window
PostPosted: April 27th, 2009, 10:01 pm 
User avatar

Posts: 137
window.open(url,"_blank","width=350,height=250");


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