Hi Bill,
       You can do both the ways . But I personally prefer to have it in the
main page which is always loaded.

On Sun, May 29, 2011 at 12:58 AM, bill <will...@techservsys.com> wrote:

>  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
> prototype-scriptaculous@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>



-- 
Regards,
Venu Kumar Bukka

-- 
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 prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to