Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: javascript digest: May 29, 2001


Message #1 by Martin Tsachev <s003063@s...> on Wed, 30 May 2001 16:29:11 +0300
Subject: How to create an animation?
From: "Cointot J=E9r=F4me" <jcointot@i...>
In IE you can access elements throuhg their id's by
document.all.id.style.visibility
to change the visibility or document.all.id.display to change the
display;
to move the element use style.pixelTop and ...style.pixelLeft or
posLeft/posTop if you know what the measure units are posLeft/posTop are
floating point numbers though.
In netscape this won't work but if you want to move images you better
use IE.
the equivalents in NN are document.id.Top and document.id.Left



  Return to Index