Skip to main content

Bug Tracker

Side navigation

#5988 closed bug (fixed)

Opened January 29, 2010 09:44PM UTC

Closed February 02, 2010 02:34AM UTC

Last modified February 05, 2010 09:47PM UTC

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.

Attachments (0)
Change History (7)

Changed January 29, 2010 09:50PM UTC by masanof comment:1

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.

Changed January 29, 2010 10:02PM UTC by john comment:2

owner: → john
status: newassigned

Changed January 29, 2010 10:02PM UTC by john comment:3

component: unfilledcore

Changed January 30, 2010 07:48AM UTC by Skalman comment:4

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?

Changed January 30, 2010 07:19PM UTC by masanof comment:5

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.

Changed February 02, 2010 02:34AM UTC by john comment:6

resolution: → fixed
status: assignedclosed

Changed February 05, 2010 09:47PM UTC by john comment:7

component: coreattributes