mocca409
07-27-2003, 08:52 PM
I am a javascript novice and I have written a basic method that is called from an applet.
My applet code has the following:
try{
getAppletContext().showDocument( new URL(( "javascript:scrollPage()")));
}catch(java.net.MalformedURLException pl){
//do something here
}
My html code has:
<script language = "JavaScript">
str = '<OBJECT classid = clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"';
function scrollPage(){
window.scrollTo(0,0);
}
</script>
When the method is called all of the animated gifs freeze.
How can I prevent this from happening, or what work-arounds exist.
My applet code has the following:
try{
getAppletContext().showDocument( new URL(( "javascript:scrollPage()")));
}catch(java.net.MalformedURLException pl){
//do something here
}
My html code has:
<script language = "JavaScript">
str = '<OBJECT classid = clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"';
function scrollPage(){
window.scrollTo(0,0);
}
</script>
When the method is called all of the animated gifs freeze.
How can I prevent this from happening, or what work-arounds exist.