Easy tab IE9 problem

Easy tab not working on IE9? You can fix this problem by changing

showContent: function(a) {
    var li = $(a.parentNode), ul = $(li.parentNode);
    ul.select('li', 'ol').each(function(el){
      var contents = $(el.id+'_contents');
      if (el==li) {
        el.addClassName('active');
        contents.show();
      } else {
        el.removeClassName('active');
        contents.hide();
      }
    });
  } 

to
showContent: function(a) {
    var li = $(a.parentNode), ul = $(li.parentNode);
    ul.select('li').each(function(el){
      var contents = $(el.id+'_contents');
      if (el==li) {
        el.addClassName('active');
        contents.show();
      } else {
        el.removeClassName('active');
        contents.hide();
      }
    });
  } 

at frontend\default\default\template\easytabs\tabs.phtml

Advertisement

One response to this post.

  1. Thanks a lot my friend!

    your solution fix also the Problem in Modern Theme and the Hellowired Theme.

    Only go to
    app/frontend/default/modern/template/catalog/product/view/tabs.phtml
    for modern theme
    or
    app/frontend/default/hellowired/template/catalog/product/view/tabs.phtml
    for hellowired theme

    and make the change.

    Dirk

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.