AlexDeMarco
Technical User
to try it
After you submit to the next page and try to resize it the brower want to repost the data, is there any way to get around this? I just want the screen to resize and not repost. Here's the script:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JAVASCRIPT">
var t;
alow=0;
urlarg = document.location.href;
function rezit() {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape" {
if (alow>2) {
document.location.replace(urlarg);}}
document.onload=setTimeout('alow=5',2000);
window.onresize=rezit;
}
if (navigator.appName.indexOf("Microsoft"!=-1) {
window.onresize=function(){
if(t)clearTimeout(t);t=setTimeout("document.location.reload()",500)
}
}
}
rezit();
</SCRIPT>
</head>
<BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#ff0000" ALINK="#ff0000" TEXT="#000000">
<a href="#" onclick="showAll();return false">Printer Friendly Version</a> | <a href="#" onclick="unshowAll();return false">Reset Display</a>
<script language="JavaScript">
var winW = 630, winH = 460;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape" {
winW = window.innerWidth-100;
winH = window.innerHeight-300;
}
if (navigator.appName.indexOf("Microsoft"!=-1) {
winW = document.body.offsetWidth-100;
winH = document.body.offsetHeight-290;
}
}
function showAll() {
if (document.layers) {
scrolldoc.top = 0;
var l = document.scroll1.document.scroll2;
l.clip.height = l.parentLayer.clip.height = l.document.height;
document.controls.pageY = l.pageY + l.document.height;
document.height = l.pageY + l.document.height + 80;
} else if (document.all)
document.all('scroll3').style.overflow = 'visible';
else if (document.getElementById)
document.getElementById('scroll3').style.overflow = 'visible';
}
function unshowAll() {
if (document.layers) {
location.reload();
} else if (document.all)
document.all('scroll3').style.overflow = 'auto';
else if (document.getElementById)
document.getElementById('scroll3').style.overflow = 'auto';
}
document.write("<ilayer name='scroll1' width="+winW+" height="+winH+" clip='0,0,"+winW+","+winH+"'>"
document.write("<layer name='scroll2' width="+winW+" height="+winH+" bgColor='white'>"
document.write("<div id='scroll3' style='width:"+winW+";height:"+winH+";background-color:white;overflow:auto'>"
</script>
<TABLE 1 ALIGN="nowrap">
<TR>
<TH width="180"> </TH>
<TH width="100"> </TH>
<TH width="10"> </TH>
<TH width="20"> </TH>
<TH> </TH>
<TH> </TH>
<TH> </TH>
</TR>
<TR>
<TD ALIGN="left">PSR - Instructional </TD>
<TD ALIGN="right">0 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0</TD>
<TD ALIGN="right">0 </TD>
</TR>
</table>
</div>
</layer>
</ilayer>
<script>
var nsstyle='display:""'
if (document.layers)
var scrolldoc=document.scroll1.document.scroll2
function up(){
if (!document.layers) return
if (scrolldoc.top<0)
scrolldoc.top+=10
temp2=setTimeout("up()",50)
}
function down(){
if (!document.layers) return
if (scrolldoc.top-150>=scrolldoc.document.height*-1)
scrolldoc.top-=10
temp=setTimeout("down()",50)
}
function clearup(){
if (window.temp2)
clearInterval(temp2)
}
function cleardown(){
if (window.temp)
clearInterval(temp)
}
</script>
<div id="controls" style="position:absolute;">
<br><span style="display:none" style=&{nsstyle};><a href="#" onMousedown="up()"
onMouseup="clearup()" onClick="return false" onMouseout="clearup()">Up</a> | <a href="#"
onMousedown="down()" onMouseup="cleardown()" onClick="return false"
onMouseout="cleardown()">Down</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=0;return false">Top</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=scrolldoc.document.height*(-1)+150;return false">Bottom</a></span>
<tt>This page was created on 23-JAN-02</tt></div>
</body>
</html>
After you submit to the next page and try to resize it the brower want to repost the data, is there any way to get around this? I just want the screen to resize and not repost. Here's the script:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JAVASCRIPT">
var t;
alow=0;
urlarg = document.location.href;
function rezit() {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape" {
if (alow>2) {
document.location.replace(urlarg);}}
document.onload=setTimeout('alow=5',2000);
window.onresize=rezit;
}
if (navigator.appName.indexOf("Microsoft"!=-1) {
window.onresize=function(){
if(t)clearTimeout(t);t=setTimeout("document.location.reload()",500)
}
}
}
rezit();
</SCRIPT>
</head>
<BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#ff0000" ALINK="#ff0000" TEXT="#000000">
<a href="#" onclick="showAll();return false">Printer Friendly Version</a> | <a href="#" onclick="unshowAll();return false">Reset Display</a>
<script language="JavaScript">
var winW = 630, winH = 460;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape" {
winW = window.innerWidth-100;
winH = window.innerHeight-300;
}
if (navigator.appName.indexOf("Microsoft"!=-1) {
winW = document.body.offsetWidth-100;
winH = document.body.offsetHeight-290;
}
}
function showAll() {
if (document.layers) {
scrolldoc.top = 0;
var l = document.scroll1.document.scroll2;
l.clip.height = l.parentLayer.clip.height = l.document.height;
document.controls.pageY = l.pageY + l.document.height;
document.height = l.pageY + l.document.height + 80;
} else if (document.all)
document.all('scroll3').style.overflow = 'visible';
else if (document.getElementById)
document.getElementById('scroll3').style.overflow = 'visible';
}
function unshowAll() {
if (document.layers) {
location.reload();
} else if (document.all)
document.all('scroll3').style.overflow = 'auto';
else if (document.getElementById)
document.getElementById('scroll3').style.overflow = 'auto';
}
document.write("<ilayer name='scroll1' width="+winW+" height="+winH+" clip='0,0,"+winW+","+winH+"'>"
document.write("<layer name='scroll2' width="+winW+" height="+winH+" bgColor='white'>"
document.write("<div id='scroll3' style='width:"+winW+";height:"+winH+";background-color:white;overflow:auto'>"
</script>
<TABLE 1 ALIGN="nowrap">
<TR>
<TH width="180"> </TH>
<TH width="100"> </TH>
<TH width="10"> </TH>
<TH width="20"> </TH>
<TH> </TH>
<TH> </TH>
<TH> </TH>
</TR>
<TR>
<TD ALIGN="left">PSR - Instructional </TD>
<TD ALIGN="right">0 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0.00 </TD>
<TD ALIGN="right">0</TD>
<TD ALIGN="right">0 </TD>
</TR>
</table>
</div>
</layer>
</ilayer>
<script>
var nsstyle='display:""'
if (document.layers)
var scrolldoc=document.scroll1.document.scroll2
function up(){
if (!document.layers) return
if (scrolldoc.top<0)
scrolldoc.top+=10
temp2=setTimeout("up()",50)
}
function down(){
if (!document.layers) return
if (scrolldoc.top-150>=scrolldoc.document.height*-1)
scrolldoc.top-=10
temp=setTimeout("down()",50)
}
function clearup(){
if (window.temp2)
clearInterval(temp2)
}
function cleardown(){
if (window.temp)
clearInterval(temp)
}
</script>
<div id="controls" style="position:absolute;">
<br><span style="display:none" style=&{nsstyle};><a href="#" onMousedown="up()"
onMouseup="clearup()" onClick="return false" onMouseout="clearup()">Up</a> | <a href="#"
onMousedown="down()" onMouseup="cleardown()" onClick="return false"
onMouseout="cleardown()">Down</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=0;return false">Top</a> | <a href="#" onClick="if (document.layers) scrolldoc.top=scrolldoc.document.height*(-1)+150;return false">Bottom</a></span>
<tt>This page was created on 23-JAN-02</tt></div>
</body>
</html>