View Full Version : move div to left of image.
mattover-matter
04-14-2003, 08:58 PM
How can I get the value, farlest pixel left, value of an image. I am creating a dropdown menu, and do not want it to appear under the mouse, but rather the same left under the link to make it dropdown. Get me? :) If this is not possible, I can get a workaround.
Garadon
04-14-2003, 09:33 PM
give the tag an id example <img id="test" ......>
then address it like this
document.getElementById('test').style.pixelLeft;
that should work in theory :)
cheesebagpipe
04-14-2003, 09:38 PM
http://www.webreference.com/dhtml/diner/realpos1/
mattover-matter
04-14-2003, 10:23 PM
which should I use?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.