Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

open new windows with onload ()



7:02 am on Mar 18, 2013 (gmt 0)

5+ Year Member

I am having a problem getting new windows opened wnen triggered by onload ()...using

function open_win()
<body onload="open_win()">
<input type="button" value="Open Windows" onclick="open_win()">

The button works ok to open the two windows, but I can't get onload() in <body> to do the same thing. Am I missing something obvious?



3:15 am on Mar 19, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

PopUp blocker may be blocking unsolicited window openings ?

Featured Threads

Hot Threads This Week

Hot Threads This Month