DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   Ajax Ifram Auto Resize freezing with IE ... (http://www.daniweb.com/forums/thread194063.html)

justted May 26th, 2009 2:41 pm
Ajax Ifram Auto Resize freezing with IE ...
 
Heya,

I have recently got a script that basically uses AJAX to automatically resize an Iframe as opposed to having it show scrollbars.

`Its a god send script as it means I can make my website 20 times better, however it doesnt seem to work properly with IE. Firefox seems ok but IE seems to freeze after about 30secs-1minute if you click links within the iframe!

Is there a reason why this happens and how would I go about fixing this problem?

Thanks

itsjareds May 26th, 2009 10:31 pm
Re: Ajax Ifram Auto Resize freezing with IE ...
 
Might be an infinite loop. Check to see if there are any properties that IE does not recognize, ie:
for (var i=0; i<myObject.MozillaOnlyProperty; i++) {
If IE doesn't recognize
MozillaOnlyProperty
, it might keep increasing
var i
without end.


All times are GMT -4. The time now is 12:24 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC