Re: closing one yahoo panel from another panel
- View Sourcei got it !
i was using document.getElementById("win").style.display="none"
the latter closes the panel from where ever you call the line.
> hi, i hope someone can help me with this:
> i have two panels which open simultaneously when i click "open"
> the first panel is YAHOO panel, the second is custom built.
> what i need to do is, when i close the second panel, i want the
> panel to close also automatically (not hide which i am currentlyable
> to do)- without pressing its close button..panel
> the problem is when i click "open" a second time, only the custom
> shows up, not the YAHOO one.. (i think this is happening because itis
> hidden rather than closed and doesnt initialize again)i
> is there some way to force the panel to close or destroy via script
> rather than pressing the close button, so i can open it again when
> click the "open" button?