AshleyQuick
01-24-2003, 11:05 PM
I'm trying implement a script that will automatically launch a new, small window. Within the new window there will be a link that, when clicked needs to shut the popup (itself) and open the link in the original window.
Here's what I have (which only works in IE)
Orginal page (main window) in the head tags:
<script>
function openpopup(){
var popurl="popup_WebPromo.html"
winpops=window.open(popurl,"","width=500,height=500,resizable,")
}
openpopup()
self.name = "Parent_Window";
</script>
-----------------------------------
And here's what I have in popup in the head tags:
<base target="Parent_Window">
And here is the href for the link:
<A HREF="demos.html" ONCLICK="javascript:window.close();">Download a Demo Version Now!</A>
Ash
Here's what I have (which only works in IE)
Orginal page (main window) in the head tags:
<script>
function openpopup(){
var popurl="popup_WebPromo.html"
winpops=window.open(popurl,"","width=500,height=500,resizable,")
}
openpopup()
self.name = "Parent_Window";
</script>
-----------------------------------
And here's what I have in popup in the head tags:
<base target="Parent_Window">
And here is the href for the link:
<A HREF="demos.html" ONCLICK="javascript:window.close();">Download a Demo Version Now!</A>
Ash