Awesome, thanks Matt! Such a silly mistake I could never have spotted it! ;)

iange87

On Saturday, February 23, 2013 3:18:41 PM UTC, Matt Conrad wrote:
>
> At first, I thought that Bootstrap collapse was using the show/hide events 
> itself and you were overwriting those handlers.
>
> Nope, you were just trying to call addclass and removeclass in all 
> lowercase. Got to be camelCase. Try http://jsfiddle.net/WUHJB/8/ .
>
> Matt
>
>
>
> On Fri, Feb 22, 2013 at 6:22 PM, iange87 <[email protected] 
> <javascript:>>wrote:
>
>> Ok, here's the fiddle: http://jsfiddle.net/WUHJB/6/. Basically, when 
>> clicked, I want the chevron-down to become chevron-up, which currently 
>> works. I also want to append the class "ldcolour" to the button, which 
>> doesn't. Finally, with my js in place, clicking the button no longer opens 
>> the collapsed content. If you remove it, it works. Then, on collapsing the 
>> div, I want the button to return to how it was before. This doesn't work as 
>> the div is never shown to trigger the resetting when it hides.
>>
>> Hope that explains my issue better. Thanks again.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "twitter-bootstrap" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to