View Full Version : frames+javascript+resize
jparrisw
12-21-1998, 11:56 PM
ever notice that when you resize the browser window on a site containing javascript within frames...you are returned to "main" page with subsequent and relentless javascript erros...what to do? anything to write into html to prevent this? any javascriptors with some insight?
hearts
12-22-1998, 01:09 AM
hi... what browser are you using? (sounds like Netscape?) MSIE is pretty nice about not trying to reload your page when you resize your browser window.
I don't have your answers.. but I do have a question.. when you resize the browser window.. did you try reloading the page? and if ya did.. do you get the same errors?
I don't use java scripting frames. I just do it the html way! http://www.aota.net/ubb/wink.gif
------------------
*hugs and smiles *
~~~ Hearts
www.heartsangels.com/hearts/ (http://www.heartsangels.com/hearts/)
[This message has been edited by hearts (edited 12-22-98).]
How many frames are there? What frame(s) does the javascript reside in? What is the script supposed to do?
I've never had this happen but, Ive got a day off coming(Christmas Eve) and Im going to be bored out of my brains..
Ill try to emulate it and come up with an answer...
Zeb
ericvon
04-12-2000, 07:07 AM
I've got the same problem. using layers/css positioning in frames, if you resize the window it screws the layers in netscape, and to cure it you have to reload the page with the onresize() method, but it has to sit in the frame.html page, and if you only want it to affect one page, it still works on any other pages loaded into the frame , so effectiveley going back to your home page when you don't want to.
................I need a cure
------------------
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.