Startexpandcollapse
Posted: Wed Dec 28, 2011 11:21 pm
Hi,
I saw this http://forum.cmsmadesimple.org/viewtopi ... se#p262645
describing the new way to use a toggle. But I don't really understand how it works.
I put the {cms_jquery} in the gabarit and put this on my template :
<div class="toggle" rel="box1">expand a</div>
<div class="area" id="box1">abcdefg</div>
But it does nothing. Does it suppose to work by itself? Do I have to use some CSS somewhere? (I upgrade a previous version with its own css, so maybe I miss something on the road).
Thanks
Mel
I saw this http://forum.cmsmadesimple.org/viewtopi ... se#p262645
describing the new way to use a toggle. But I don't really understand how it works.
I put the {cms_jquery} in the gabarit and put this on my template :
<div class="toggle" rel="box1">expand a</div>
<div class="area" id="box1">abcdefg</div>
But it does nothing. Does it suppose to work by itself? Do I have to use some CSS somewhere? (I upgrade a previous version with its own css, so maybe I miss something on the road).
Thanks
Mel