Click to See Complete Forum and Search --> : method call halts animated html gifs


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.

Nevermore
07-28-2003, 01:41 AM
I found that this happened and have been unable to find a solution, so anyone that can help, I would be very grateful.

Khalid Ali
07-28-2003, 07:38 AM
Hey guys post a link to the actual page if thats possible...

Nevermore
07-28-2003, 09:55 AM
http://members.lycos.co.uk/cijori/input.php

Guess which browser this happens in? That's right, IE!

Khalid Ali
07-28-2003, 10:17 AM
lol..I actually could not load it in Mozilla 1.3...grrrr

Nevermore
07-28-2003, 01:22 PM
That'll be those brilliant Lycos servers!