i want to know  when a prototype window is open like this

alert(top.Windows.focusedWindow.getId());


when the window is open , all works fine and i get a id, but when
window isnt open, i get now info and the script stops without errors.

how can i catch this?

the lib is this

http://prototype-window.xilinus.com/documentation.html#getId
--~--~---------~--~----~------------~-------~--~----~
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