GolfHos
 
*
December 23, 2024, 04:58:10 PM
Username: Password: Duration:

Script error in IE

 
Pages: [1]   Go Down
  Print  
Author Topic: Script error in IE  (Read 5391 times)
0 Members and 1 Lurker/Spider are viewing this topic.
gleek
Flak Jacket

Karma: 107
Posts: 9511
Offline Offline

E chu ta!

View ProfileIgnore this user
Script error in IE
« on: July 22, 2009, 08:56:55 PM »

This:

Code:
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_avatarMaxWidth = 100;
var smf_avatarMaxHeight = 100;
window.addEventListener("load", smf_avatarResize, false);     //craps out in IE
// ]]></script>

Should be changed to:

Code:
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_avatarMaxWidth = 100;
var smf_avatarMaxHeight = 100;
if (window.addEventListener){           
    window.addEventListener("load", smf_avatarResize, false);
} else {
    window.attachEvent("onload", smf_avatarResize);
}
// ]]></script>
Logged Return to Top

Woman, open the door, don't let it sting. I wanna breathe that fire again.
dystopia
Amazing Technicolor Dreamcoat
From: Silicon Valley

Karma: 94
Posts: 7929
Offline Offline


View ProfileIgnore this user
Re: Script error in IE
« Reply #1 on: July 22, 2009, 09:54:03 PM »

OK, just made your change.  Let me know if you run into any problems.
Logged Return to Top
gleek
Flak Jacket

Karma: 107
Posts: 9511
Offline Offline

E chu ta!

View ProfileIgnore this user
Re: Script error in IE
« Reply #2 on: July 22, 2009, 10:48:20 PM »

OK, just made your change.  Let me know if you run into any problems.

No more script error.
Logged Return to Top

Woman, open the door, don't let it sting. I wanna breathe that fire again.
Pages: [1]   Return to Top
  Print  
 
Jump to:  

Related Posts
Chat Crashes my Fox
Error Message:[quote]AppName: firefox.exe AppVer: 1.8.20070.6982 ModName: unkn
by Clive

Can I Get Another No Script Update?
For the love of fuckin' Pete!  Every time I open the damn Fire Fox, I
by stroh

Golfhos - lol! Best error ever!
hahaha, that's a great error. ;D
by dystopia

Is Chat Dead???
I just tried it with firefox and ie, and it seemed ok.I think I've seen tha
by dystopia

 


 
  Powered by SMF | SMF © 2001-2009, Lewis Media

Dilber MC Theme by HarzeM