I've been working with a page that should act as a 'jump page' before
loading a PDF and when I use the location.replace function to replace
the jump page with the resulting PDF, both the jump page and the pdf
show up into the browser history (in IE only) leading to the dreaded
back-button loop.
My first bit of javascript (to load the jump page) is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<p><a href="testjump.html"> Next PDF</a></p>
</body>
</html>
The jump page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<script type="text/javascript" language="JavaScript" >
//<!--
window.location.replace("http://www.adobe.com/products/postscript/pdfs/wp_oce.pdf");
//-->
</script>
</body>
</html>
Thanks in advance
DTS
--
David T. Smith
PGP Fingerprint: 7B01 0086 BC4E C092 5348 B9AE E79A 07F2 9E59 29C2
ph: 1 203 364 1796
fax: 1 203 364 1795
cell: 1 203 770 1685
E-mail David dot Smith at acm dot org