Putting A Popup On An Outside Site

matapples01

Regular Member
Joined
May 15, 2008
Messages
358
Reaction score
210
Looking for some of your programming expertise here. I know that you can enter code on a specific page you own and have a popup appear but can you have a new (outside page) load and have a popup on that page?

Basically I want to have a external links on my site that when clicked load the new page but also loads a pop up on the new page. Is it even possible to have a pop up on a page you don't own?
 
You could put the new page inside of an iframe and then pop it up or you can make it open the popup right when they click the link.
 
You would create the popup with javascript before sending the person to the new page.
Code:
<a href="newsite.com" onclick="window.open('yourpopup.html')">link</a>
 
Sorry for the confusion (or maybe I'm confused) but I don't want the new page to load IN the popup. I want it to load on a click like a normal new page would and then have a popup load over that new page.
 
Code:
<body onload="window.open('page.html')">

I must be missing something
 
You would create the popup with javascript before sending the person to the new page.
Code:
<a href="newsite.com" onclick="window.open('yourpopup.html')">link</a>

Works great...thanks!
 
You can set the popup size and other options too, just lookup window.open on google for how to do it.
 
Back
Top