I am dynamically generating a div which is loaded via AJAX.
It is a schedule, with a background image (loaded with <img...,
not css - so it scrolls) and the appointments as superimposed divs.
If the user clicks on the background image (not on a div) I need
to determine the x and y coordinates of the click on the image,
not in the viewport. (ie: the same coordinates regardless of how
the image has scrolled)
If the user clicks on a div (superimposed on the image) I need to
return the id of the div.
It seems that I could just have one observer watching the outer
div and bubble up the information, but I just can't seem to get
started.
I can load the js with the page or I can have it in the main page
that is always loaded.
--
Bill Drescher
william {at} TechServSys {dot} com
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" 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/prototype-scriptaculous?hl=en.