i am not familier with the light window but most haev a classname so best
thing to do is find the classname for the parent container of the lightbox
and do something like
$$('.TheClassName').each(function(e) {
$(e).remove();
});
Regards
Alex
----- Original Message -----
From: "pradeep" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us" <[email protected]>
Sent: Saturday, November 29, 2008 2:00 PM
Subject: [Proto-Scripty] Re: prototype Light window close
>
> hai,
>
> sorry cannot understand what exactly you are referring to.....
>
> But it's not necessary that you should use onclick,onMouseOver events
> to close the window......
>
> ----->
> if the window is a native browser window...you can close it by
> calling..
>
> window.close();
>
> method of the window object...
>
> --->
> if the window is made up wit a div or span...declare id for the div...
>
> use $(divid).style.display="none";
>
> OR
>
> declare a class name for the div or span ...
>
> use $$(div.className).style.display="none";
>
>
> Regards,
> pradeep
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---