Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when window containing frames is resized

Status
Not open for further replies.

Tagaca

Programmer
Feb 16, 2001
5
US
I am getting an error when the window containing frames is resized. The error refers to a function that is defined in one of the frame bodies, and to another function that is defined in some rollover.js script. After the window is resized, if the reload button is pressed the errors no longer occur. I have tried implementing the noresize for the frames but this did not stop me from being able to resize the window.

Note that when the window is not resized, no errors occur.

Can anyone offer a solution?
 
what exactly does the function do - and why is it being called onresize - unless it is supposed to be? Is the error occuring onmouseover do you mean - na donly after resize?

Bj
b2 - benbiddington@surf4nix.com
 
Well I fixed the problem by adding onresize="window.location.reload(true);" to the topmost frame.

I am not sure what was causing the error, but this did fix it.

To answer your question there was no function being called on resize. And one of the errors was occuring onmouseover, but it was only after a resize, the error did not occur onmouseover before the resize.

Thanks for you input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top