Good day to all,
I'm using this plugin http://webcloud.se/jQuery-Collapse/ to add it on my website. Now I have tried to change the style of the header.. But it seems It can't be overridden, I'm referring to the text. And about the jquery function.. opening works just fine but closing won't respect the time given. How to fix this? Any help would be much appreciated! Thanks!
<div id="spot_collapse" style="margin:10px 10px;" data-collapse>
<div style="color:#ccc">MAY</div>
<div>
<p>some text</p>
<p>foo</p>
</div>
</div>
<script>
new jQueryCollapse($("#spot_collapse"), {
open: function() {
this.slideDown(200);
},
close: function() {
this.slideUp(300);
}
});
</script>