hallö Geisi,
ich versuche hier gerade die absolute Position eines relativ postionierten Divs auszulesen.
Gibt es eine Möglichkeit an die Zahlen zu kommen ?
hab hier mal schnell was für Mozilla gebastelt:
<script type="text/javascript">
<!--
function Position(Ereignis)
{
alert("x-Wert: " + Ereignis.pageX + " / y-Wert: " + Ereignis.pageY);
}
document.onmousedown = Position;
//-->
</script>
script was supported by http://de.selfhtml.org/javascript/objekte/index.htm ;-)
sollte mit N4+ laufen. (Opera auch?)
grüße aus Leipzig
willie
--
ss:| zu:} ls:# fo:| de:] va:} ch:? sh:( n4:( rl:° br:> js:| ie:% fl:( mo:}
http://emmanuel.dammerer.at/selfcode.html
ss:| zu:} ls:# fo:| de:] va:} ch:? sh:( n4:( rl:° br:> js:| ie:% fl:( mo:}
http://emmanuel.dammerer.at/selfcode.html