Damnit, I forgot to save lol.

$(document).ready( function() {
  $('a.accordion-toggle').attr('data-toggle', 
'collapse').attr('data-target',$(this).attr('href'));
  $('.collapse').collapse();
});

On Monday, May 14, 2012 2:24:46 PM UTC-7, John Roberts wrote:
>
> This code uses jquery to set up the data- attributes prior to calling 
> collapse to set up the bootstrap behavior, basically undoing what your CMS 
> is doing.  Try this:
>
> http://jsfiddle.net/jrob/C9M9m/
>
> On Friday, May 11, 2012 1:55:49 PM UTC-7, line47 wrote:
>>
>> I'm trying to get the example collapse markup working in a content 
>> managment system that strips out the data-toggle and data target 
>> attributes. 
>>
>> Here is the JSFIDDLE I'm working with 
>> http://jsfiddle.net/pxNcs/ 
>>
>> Any help would be greatly appreciated.
>
>

Reply via email to