Hey guys!
I am working on a page that will create a popup then send the parent page back to the previous page using the history.back function. I am using the history back function because our website uses session ids and there is no way to link to a specific page. The code below works in IE but not in FireFox and it takes a little longer then I would like.
Code:
<html>
<head>
<title>URL Redirect</title>
<meta http-equiv=refresh content=0;URL="javascript:history.back(-1);">
</head>
<script language="javascript">
function bustOut(){
var newWin = window.open("http://LocationOfPopupPage", "subWindow","height=500,width=700,resizable=yes,scrollbars=yes");
}
window.onLoad = bustOut;
</script>
<body onLoad="bustOut()">
<p align="center"><br>
<font face="verdana, arial, helvetica"><span style="font-size:8.5pt;font-family:verdana, arial, helvetica">
<strong><br>
This The document is located on an internal site. The document will now be opened for you from the internal site</strong></span></font><p align="center"><font face="verdana, arial, helvetica"><p align="center"><font face="verdana, arial, helvetica"><span style="font-size:8.5pt;font-family:verdana, arial, helvetica"><strong>You will now be redirected back to the previous page</strong></span>
</body>
</html>