Alex Brelsfoard wrote:
OK, so here's what I'm trying to do:
1. A link sends you to my script.
2. My script immediately sends that page back to where it came from.
3. My script creates a new window, and continues to do stuff on it.
Have yourscript.cgi return something like this when the "popup"
parameter is false:
<html>
<title>popup opener</title>
<head>
...
<script type="text/javascript">
function stuff() {
window.open("http://example.com?popup=1");
window.history.back();
}
</script>
</head>
<body onload="stuff()"></body>
</html>
I haven't tested this, but it's what comes to mind.
--
Ian Langworth
Project Guerrilla
Northeastern University
College of Computer and Information Science
|