FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » IE 5 Mac patch
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
IE 5 Mac patch [message #18769] Tue, 08 June 2004 15:10 Go to next message
Gribnif is currently offline  Gribnif   United States
Messages: 82
Registered: December 2003
Karma: 0
Member
IE 5.2.3 on the Mac was throwing a Javascript error every time I loaded a page. I fixed it this way:

--- lib.js      2004-04-20 13:39:06.000000000 -0400
+++ cob-forum/lib.js    2004-06-08 11:06:16.000000000 -0400
@@ -15,6 +15,7 @@
 NS4 = (document.layers) ? 1 : 0;
 IE4 = (document.all) ? 1 : 0;
 OPERA = navigator.userAgent.indexOf("Opera") > -1 ? 1 : 0;
+MAC = navigator.userAgent.indexOf("Mac") > -1 ? 1 : 0;
 
 /* edit box stuff */
 function insertTag(obj, stag, etag)
@@ -208,7 +209,7 @@
        window.location.hash = phash;
 }
 
-if (!OPERA && navigator.appName == "Microsoft Internet Explorer") {
+if (!OPERA && navigator.appName == "Microsoft Internet Explorer" && !MAC) {
        window.attachEvent("onload", ie_png_hack);
 }
 
Re: IE 5 Mac patch [message #18770 is a reply to message #18769] Tue, 08 June 2004 15:12 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you using the latest lib.js (without the tricky png hack) or the old one which used active X to emulate png transparency support?

FUDforum Core Developer
Re: IE 5 Mac patch [message #18774 is a reply to message #18770] Tue, 08 June 2004 15:28 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Thanks for the fix suggestion, I had a Mac user test current lib.js and the problem seems to have affected latest CVS. The fix has been applied.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Should banning a user terminate their session?
Next Topic: Admin group manager bug
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 23:59:03 GMT 2024

Total time taken to generate the page: 0.02224 seconds