PDA

View Full Version : Break Frame without reload.


Steven_Smith
05-21-2003, 08:45 PM
I can't figuree this out. Can I brake a frame without re-loading?

like onclick="frame2.destroy();"

I might use layers to do this, but I thought it would be cool to brake a frame with out a re-load.

Can it be done?

chrismiceli
05-21-2003, 11:02 PM
you could make its width and height 0

window.frames["0"].height = "0";
window.frames["0"].width = "0";

Steven_Smith
05-21-2003, 11:17 PM
That is an awsome solution!!!! I am going to try that now!!!!!

:thumbsup: :thumbsup: