Guest_imported
New member
- Jan 1, 1970
- 0
Why does it make the image only once, the first time you click, not every time? Please email responses to pete_c12@hotmail.com Thanks
<BASE HREF="<html>
<head>
<script>
var image1 = "car.gif";
function move()
{
var xpos = window.event.clientX;
var ypos = window.event.clientY;
document.write('<div style="position:relative; left:' + xpos + '; top:' + ypos + '"><img src=' + image1 + '></div>')
alert("" + xpos + " , " + ypos + ""
}
</script>
</HEAD>
<BODY onclick=move()>
</body>
</html>
<BASE HREF="<html>
<head>
<script>
var image1 = "car.gif";
function move()
{
var xpos = window.event.clientX;
var ypos = window.event.clientY;
document.write('<div style="position:relative; left:' + xpos + '; top:' + ypos + '"><img src=' + image1 + '></div>')
alert("" + xpos + " , " + ypos + ""
}
</script>
</HEAD>
<BODY onclick=move()>
</body>
</html>