/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> $('.skin-slidedeck .slidedeck').slidedeck().loaded(function(){ $('.skin-slidedeck .slidedeck dd:has(".slidesVertical")').each(function(i){ if( $(this).find('.slidesVertical li').length > 1 ){ var index = $('.skin-slidedeck .slidedeck dd').index( $(this) ) + 1; $('.skin-slidedeck dl.slidedeck .slide_'+ index +' .verticalSlideNav').appendTo('.skin-slidedeck dl.slidedeck .spine_'+ index +''); } }); }).vertical(); </script>