Reply
jQuery tabs problem in IE6
Old 10-05-2009, 03:02 PM jQuery tabs problem in IE6
pealo86's Avatar
Webmaster Talker

Posts: 588
Name: El Phantasmo
Location: England, north west
Trades: 0
Thank god the worst IE6 problem I've ever had is almost solved

Only problem now is this:
http://bit.ly/1wo95W

In IE6 you have to click a tab twice in order to display its contents.

Code:
// jquery tabbed interface
$(function () {
    var tabContainers = $('div.tabs > div');
    tabContainers.hide().filter(':first').show();
                            
    $('div.tabs ul.tabNavigation a').click(function () {
        tabContainers.hide();
        tabContainers.filter(this.hash).show();
        $('div.tabs ul.tabNavigation a').removeClass('selected');
        $(this).addClass('selected');
        return false;
    }).filter(':first').click();
});
I've tried a few ways to fix it, such as a different selector instead of 'div.tabs > div'. I've even tried repeating the line ' tabContainers.filter(this.hash).show();' in different parts of the script, but no luck!

Any ideas on how to fix it?

Last edited by pealo86; 10-05-2009 at 04:38 PM..
pealo86 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to jQuery tabs problem in IE6
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09946 seconds with 13 queries