Hi,

> I wonder if a div with style overflow:auto and a scrollbar on the side
> could act similar to a frame.

It shouldn't, no.

> But, when I do an Ajax.Update of the lightbox div, and I have an
> onclick on a button in that lightbox.  The code attached to that
> button can longer access the global vars.

Can you post a pared-down, minimalist, self-contained page
demonstrating the problem?  Folks here would be happy to take a
look...
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available


On Feb 11, 1:23 pm, doug <[email protected]> wrote:
> Thanks for the advice every one.
>
> T. J. Crowder,
>
> I wonder if a div with style overflow:auto and a scrollbar on the side
> could act similar to a frame.
>
> I figured what makes things go wrong, but still not sure why.  I bring
> up a lightbox similar to the one 
> here:http://particletree.com/features/lightbox-gone-wild/.
> But, when I do an Ajax.Update of the lightbox div, and I have an
> onclick on a button in that lightbox.  The code attached to that
> button can longer access the global vars.
>
> However, if my lightbox contains a div, and I update the inner div, I
> can access the global vars from onclicks within the lightbox. At least
> that's what it seems like is happening.  There may be something else
> going on, I'm really not sure.
>
> -d
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to