Welcome visitor
* Login
* Register
It is currently May 22nd, 2019, 2:46 am
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
  Open popup after 10 seconds
PostPosted: December 19th, 2009, 12:38 pm 

Posts: 42
Hi, I've seen this topic where you can open a popup window with its own dimentions (http://www.scriptingok.com/forum/t12_71-Open-a-new-window-with-no-scrollbars, btw good post!), but how could I open such a popup few seconds after the main page is loaded?


Top
 Profile  
 
  Re: Open popup after 10 seconds
PostPosted: December 23rd, 2009, 8:17 am 
User avatar

Posts: 40
<body onload="countPopup();">
<script type="text/javascript">
function countPopup()
{
setTimeout("Popup()",10000);
return false;
}
function Popup()
{
window.open('http://www.scriptingok.com','_blank');
}
</script>


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