The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

All Javascripts not working in ie9 !?

View previous topic View next topic Go down

All Javascripts not working in ie9 !?

Post by Ahmed.K on 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?

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: All Javascripts not working in ie9 !?

Post by Ahmed.K on 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.

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: All Javascripts not working in ie9 !?

Post by LGforum on 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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: All Javascripts not working in ie9 !?

Post by Ahmed.K on 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.

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

View previous topic View next topic Back to top


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