PDA

View Full Version : Generating Pop up with redirect



pedigo328
03 Aug 2010, 06:42 PM
How's it going? So I was needing a little script that doesn't just generate a pop up, but when the link is clicked, the pop up appears and as well, it will direct the user to a new page. I don't have an example but know I've seen it other places.

I use a code similar to this:

<a href="http://www.imleagues.com" onclick="window.open('popuptest.php','popup','width=500,height=500,
scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,stat
us=no,left=0,top=0'); return false">About</a>

But I have also tried scripts where the javascript is included in the header. I'm not sure what would be a better source or how to get it implemented so that after that link is clicked that not just the pop up appears, but the main page in the background directs to a new page.