In your 'head' do something like this:
Code:
window.onload = popups();
function popup(){
window.open('URL/to/popup.html','PopupName','toolbar=0,location=0,
status=0,menubar=0,scrollbars=0,resizable=0,width=345,height=400');
}
function popups() {
url = "URL/to/popup.html";
width = 320; // width of window in pixels
height = 390; // height of window in pixels
// copy paste to change more or less popups, time is seconds*1000.
setTimeout("popup(url, width, height)", delay*10000);
setTimeout("popup(url, width, height)", delay*20000);
setTimeout("popup(url, width, height)", delay*30000);
}
you can also close a popup automaticaly. include this in ur popup file:
Code:
setTimeout ('self.close' ()', 1200);
source: http://www.nowsell.com/pop-ups/pop-up-scripts.html
google is ur friend.
Bookmarks