#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
comment:2 Changed 14 years ago by
Owner: | set to john |
---|---|
Status: | new → assigned |
comment:3 Changed 14 years ago by
Component: | unfilled → core |
---|
comment:4 Changed 14 years ago by
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
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
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 14 years ago by
Component: | core → attributes |
---|
this is the v1.3.2 work sorce.
$("ul.tabs li").hover(function(){
});
var tabs_change = function(target) {
}
I Checked Browser is IE6 FireFox?3.6 Google Chrome4.0 all NG. Plz fix.