The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

All Javascripts not working in ie9 !?

2 posters

Go down

All Javascripts not working in ie9 !? Empty All Javascripts not working in ie9 !?

Post by Ahmed.K August 19th 2012, 3:40 pm

Works perfectly in all browsers except IE9, many codes doesn't work.

For example here - "Related Topics" code.

Any ideas?
avatar
Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

All Javascripts not working in ie9 !? Empty Re: All Javascripts not working in ie9 !?

Post by Ahmed.K August 19th 2012, 3:54 pm

Ah, yes. Is there a solution for this? Many functions does not work.

It works fine with Internet Explorer 7 and 8, but not with 9.
avatar
Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

All Javascripts not working in ie9 !? Empty Re: All Javascripts not working in ie9 !?

Post by LGforum August 19th 2012, 9:14 pm

Its likely that you have just one javascript on your forum that is either incompatible with IE9 or the author didn't bother to support it.

Either way the link you provided works fine on IE to me.
What Javascript is not working?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

All Javascripts not working in ie9 !? Empty Re: All Javascripts not working in ie9 !?

Post by Ahmed.K August 20th 2012, 11:10 am

To forumotion technicians,

I think i found the reason...
There is error with this original code:

viewtopic_body
Code:
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
   _atc.cwait = 0;
   $('.addthis_button').mouseup(function(){
      if ($('#at15s').css('display') == 'block') {
         addthis_close();
         addthis_close();
      }
   });
});
//]]>

I get this error with Internet Explorer 9 (In Console mode): SCRIPT5009: '_atc' is undefined

due to this error, all javascripts not working in IE 9.

So, I removed this line: (_atc.cwait = 0;). and now, all Javascript codes working fine on all browsers and on IE 9 too.
avatar
Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum