For some reason I can't seem to sort out, this works in IE but doesn't in FF.. in FF the right now if you try it out live it's tabbing on the first tabs in the first tab of the parent tabs.. but the second tabs in the second tab of the parent tabs goes back to the first tab.
if you look at the FF output you will see that the "Choose Your Fabric:" links are the outer tabs and the pager links on the right with the next and prev are the inner tabs.
the test page is here...http://173.203.188.218/#/collections.html
The outer works just fine.. and only in IE does the inner work.. the next and prev doesn't thou.. to that is the other missing part.. Tk for the help.. Cheers -Jeremy
if you look at the FF output you will see that the "Choose Your Fabric:" links are the outer tabs and the pager links on the right with the next and prev are the inner tabs.
the test page is here...http://173.203.188.218/#/collections.html
The outer works just fine.. and only in IE does the inner work.. the next and prev doesn't thou.. to that is the other missing part.. Tk for the help.. Cheers -Jeremy
$("ul.products_category_list").tabs("div#productArea > div.products", {effect: 'slide'});
$("div.products .nav").each(function(){
$(this).tabs($(this).closest("div.products").find("div.page"), {effect: 'fade'});
});
$('a.next').live('click',function(e){
e.stopPropagation();
e.preventDefault();
var daIndex= $(this).closest("div.products .nav").index();
var Cindex= $("div.products .nav").data("tabs").eq(daIndex).getIndex()+1;
alert(Cindex);
$("div.products .nav").data("tabs").eq(daIndex).seekTo(Cindex, 2);
});
$('a.prev').live('click',function(e){
e.stopPropagation();
e.preventDefault();
var daIndex= $(this).closest("div.products .nav").index();
var Cindex= $("div.products .nav").data("tabs").eq(daIndex).getIndex()-1;
$("div.products .nav").data("tabs").eq(daIndex).seekTo(Cindex, 2);
});
