d a filter:first on the end of my script above,
but with no success. Any ideas?
Bradley Sepos wrote:
>
>
> Just extend Michael's code a bit:
>
> $(this).addClass('active').siblings().removeClass('active');
>
> Bradley~
>
>
> On Oct 1, 3:
dd this inside the click function:
>
> $(this).addClass('active');
>
> -Mike
>
>> From: yellowboy
>>
>> Yes, that is why I am seeking some assistance.
>>
>> Not sure how to implement it within my current code. I know
>> how to assig
nothing like that.
>
> Perhaps that is the problem, the code you need simply isn't there?
>
> -Mike
>
>> From: yellowboy
>>
>> I want my h2 element to be assigned class 'active' when
>> selected, I have tried numerous methods but to no
I want my h2 element to be assigned class 'active' when selected, I have
tried numerous methods but to no avail, some guidance would be appreciated!
function initMenus() {
$('div.menu div.gallery').hide();
$.each($('.menu'), function(){
$('#' + this.id + '.expandf
Problem:
I have two divs, each containing tab navigation. When I click tab navigation
items they receive class 'selected' while the previously clicked tab anchors
retain 'selected' class as well.
My intention is that with click of tab, other tabs drop the selected class.
jquery:
$(function (
yellowboy wrote:
>
> Problem:
> I have two divs, each containing tab navigation. When I click tab
> navigation items they receive class 'selected' while the previously
> clicked tab anchors retain 'selected' class as well.
>
> My intention is th
6 matches
Mail list logo