<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>&gt;Anyway, document.body is a much quicker way to express 
it.<BR>&gt;</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Are there any browsers other than IE which dont use 
document.body?</DIV>
<DIV><BR>&gt;Secondly, the element which IE makes the visual root and thus gives 
<BR>&gt;scrollbars changes. In IE5 and Quirks mode it's &lt;body&gt;, in IE6 
Standards <BR>&gt;mode it's &lt;html&gt;. (The standards actually say it 
shouldn't be either of <BR>&gt;them, but that's another story.) So to do it in 
either mode:<BR>&gt;<BR>&gt;&nbsp;&nbsp; if (ie_win) { // sniffed using whatever 
is your favourite method<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; var 
r;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if 
(document.compatMode=='CSS1Compat')</FONT></DIV>
<DIV><FONT face=Arial>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; r= 
document.documentElement;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
else<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; r= 
document.body;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; r.style.overflow= 
'auto';<BR>&gt;&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>ok, i&nbsp;modified the script to make it 
work. </FONT></FONT><FONT face=Arial><FONT size=2>In the body tag of the page, 
i've defined style="overflow:hidden;", so surely i dont need to check for 
document.documentElement (if it's defined in the html file in the body tag, it 
wouldn't shift anywhere else, would it?). </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial><FONT 
size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>But this doesn't actually make the browser 
display (or hide) the scrollbars. I've checked, and it&nbsp;DOES change the 
document.body.style.overflow&nbsp;value of the DOM, but it i think the page 
needs to be refreshed for this to take effect, is there a way to refresh the 
page, without the user&nbsp;having to actually reload all the 
graphics?</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>I want to be able to do this because i dont 
want the user to be able to scroll down the page until an event 
occurs.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>Thanks,</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>Dash</FONT></DIV></FONT></BODY></HTML>