Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5988 closed bug (fixed)

v1.4.1 removeClass is No Work!

Reported by: masanof Owned by: john
Priority: major Milestone: 1.4.2
Component: attributes Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:

Description

v1.4.1 removeClass is No Work.

this is the v1.3.2 work sorce.

$("ul.tabs li").hover(function(){

tabs_change(this); return false;

});

var tabs_change = function(target) {

if($(target).attr("class")!='active'){ This class into the var is ' active' space char no thanks :)

$("ul.tabss li").removeClass('active'); Remove any "active" class. But this cord after class into ' ' space char no thanks :) $(".tabfunis_content").hide(); Hide all tab content var activeTab = $(target).find("a").attr("href") + "funis"; Find the href

$('.active').fadeIn();

} return false;

} I Checked Browser is IE6 FireFox3.6 Google Chrome4.0 all NG. Plz fix.

Change History (7)

comment:1 Changed 14 years ago by masanof

this is the v1.3.2 work sorce.

$("ul.tabs li").hover(function(){

tabs_change(this); return false;

});

var tabs_change = function(target) {

if($(target).attr("class")!='active'){ This class into the var is ' active' space char no thanks :)

$("ul.tabss li").removeClass('active'); Remove any "active" class. But this cord after class into the space char ' ' no thanks :) $(".tab_content").hide(); Hide all tab content var activeTab = $(target).find("a").attr("href"); Find the href

$('.active').fadeIn();

} return false;

}

I Checked Browser is IE6 FireFox?3.6 Google Chrome4.0 all NG. Plz fix.

comment:2 Changed 14 years ago by john

Owner: set to john
Status: newassigned

comment:3 Changed 14 years ago by john

Component: unfilledcore

comment:4 Changed 14 years ago by Skalman

There seems to be something wrong in the code: $("ul.tabs li").hover... $("ul.tabss li").removeClass...

Is the extra s supposed to be there?

comment:5 Changed 14 years ago by masanof

It is the street, and "S" is unnecessary. It is my typing error. However, RemoveClass doesn't operate accurately though the typing error is corrected. The space character doesn't disappear. Plz try removeClass.

comment:6 Changed 14 years ago by john

Resolution: fixed
Status: assignedclosed

comment:7 Changed 14 years ago by john

Component: coreattributes
Note: See TracTickets for help on using tickets.