E-Mail:

Moving Objects Vertically

Good ‘ol Yehuda Shiran is back to show you how to move those objects. No, I am not referring to moving some furniture around here. I am talking about moving Web objects, thanks to help from this tutorial here. Check it out:

One of the trickiest tasks in DHTML is to move objects on the screen, independent of the browser. Let’s focus on the vertical location of an object, usually associated with the word top. Netscape Navigator uses the top property of an element, while Internet Explorer uses the pixelTop property of the style object property. Netscape 6 uses the W3C Standard’s top property of the style object property. Since Internet Explorer 5+ supports this property as well, we can use the following browser-independent code to move objects vertically:

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense your hard-earned information back to the community, get involved in our community site today! You can write about anything - no matter the topic. Exceptional candidates will be offered the chance to contribute to (and generate revenue from) the main Lockergnome site. Join us today!

SEO - Apr 22, 2008

Using An SEO Company Vs. Hiring An In-House Expert: The True Dollar Cost

73 queries / 0.344 seconds.