'New window from link WITH popup
Tried searching around but can't seem to find a straight forward answer to what I'm trying to do...
I need to create a link that opens a new page WITH a unique popup. I don't want to simply embed a popup plugin for that new page. The link is the only method that the popup should be seen on the new page.
Does this make sense and how can I achieve it?
Many thanks in advance...
Solution 1:[1]
Solution 2:[2]
<a href="#" onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')">yourlink</a>
this is simple java script that can open new window
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Garry |
| Solution 2 | Garry |
