Menu
ok. so i got this code to break from an iframe:
document.writeln(‘<A HREF=”‘+self.location.href+'” TARGET=”_top”>Break the frames!</A>’);
that does Great. Except i wanna just remove that frame not make that frame the _top. i would like to Remove that frame .. and make the name=’bottom’ frames location the top. from this code i changed it to:
document.writeln(‘<A HREF=”‘+window.frames[bottom].location+'” TARGET=”_top”>Break the frames!</A>’);
and i get a error bottom is undefined.? whats going on.. EASY answer.. and if anyones got a better solution. im all ears