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
Return to the default flat view Create a new topic Submit Reply
IE 5 Mac patch [message #18769] Tue, 08 June 2004 15:10 Go to previous message
Gribnif is currently offline  Gribnif   United States
Messages: 82
Registered: December 2003
Karma:
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);
 }
 
[Message index]
 
Read Message
Read Message
Read Message
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: Fri Nov 22 15:40:22 GMT 2024

Total time taken to generate the page: 0.04007 seconds