Hi,
I'm trying to implement an Horizontal Accordion inside an overlay.
This is the code:
I'm trying to implement an Horizontal Accordion inside an overlay.
This is the code:
<div class="apple_overlay" id="team">
<div id="accordion">
<img src="http://flowplayer.org/img/title/streaminge.png" />
<div style="width:310px; display: block;">
<h3>First pane</h3>
<p>
Consectetur adipiscing elit. Praesent bibendum eros ac nulla. Integer vel lacus ac neque viverra.
</p>
</div>
<img src="http://flowplayer.org/img/title/flash.png" />
<div>
<h3>Second pane</h3>
<p>
Cras diam. Donec dolor lacus, vestibulum at, varius in, mollis id, dolor. Aliquam erat volutpat.
</p>
</div>
</div>
</div>
<script>
$(function() {
$("#content a[rel]").overlay({effect: 'apple', top: 150, closeOnClick: true});$("#accordion").tabs("#accordion div", {tabs: 'img', effect: 'horizontal'});
});
</script>
The problem is that the style of the first tab is not rendered, I need to put the "!important" attribute but in this way the other tabs animation is broken...