document.images[0].X

J

Jean Pierre Daviau

Hi,

An easy ne I guess.

Is there a way to get the x and y position of an image in a web page using
IExplorer?
document.images[0].X for example


--
Jean Pierre Daviau
--
Easyphp1.8
Apache1.3.24
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
http://www.jeanpierredaviau.com
 
J

Jean Pierre Daviau

In fact

if(document.all){
documente = document.body.parentElement.offsetHeight
}
if (document.layers){
//Netscape
var elems = document.getElementsByTagName('*');
documente = elems[0].offsetHeight;
}else{//Opera
documente = document.getElementById('tablo').offsetHeight
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

changing the barckground image 2
javascript corrupted? 8
document.images 8
circle tracing 10
strange TR behavior 2
loading order 2
running an ex on eMac 8
false popup not allowed? 5

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top