I want to click on a picture and send the image coordinates back to
another method for processing and redisplay. I think I could use a
window.location call but wondering
if there's a better way. I've outlined it below:
<script ..
var x,y
function onImageClick(evt) {
x=evt.clickX
y=evt.clickY
$seeother('/get_image_zoom',x,y) ==> know this is wrong but
outlines what I want to do
}
</script>
<div id="myimage">
<img src="/images/myimage.png" onclick=onImageClick()></img>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---