Return to Snippet

Revision: 34268
at October 20, 2010 02:54 by Jamie


Updated Code
<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>

Revision: 34267
at October 20, 2010 02:39 by Jamie


Initial Code
<script type="text/javascript">
	$('.skin-slidedeck .slidedeck').slidedeck().loaded(function(){
		$('.skin-slidedeck .slidedeck dd:has(".slidesVertical")').each(function(i){
			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>

Initial URL

                                

Initial Description

                                

Initial Title
Automatically Append Vertical Nav to SlideDeck Spines

Initial Tags
jquery

Initial Language
jQuery