Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: DHTML


Message #1 by "rudi" <rudi@m...> on Thu, 8 Nov 2001 16:59:44
--0-627885579-1005318730=:36498
Content-Type: text/plain; charset=us-ascii


In principle, any HTML object (element) can be moved from its location to another location. You only have to set the pixelLeft and
pixelTop property of the style object of your element. Here is a sample:
document.all('obj').style.pixelLeft = leftValue; //value in pixels
document.all('obj').style.pixelTop = topValue; //value in pixels
  You can set either the left and the top property of the style object. 

You can create animation, you can display charts and many, many other things you want. Good luck!


  rudi <rudi@m...> wrote: Can some one help i need to move a layer from the top of the screen to the 
bottom.

Thanx
Rudi



---------------------------------
Do You Yahoo!?
Find a job, post your resume on Yahoo! Careers.

  Return to Index