Skip to content

Instantly share code, notes, and snippets.

@billrobbins
Created December 22, 2011 13:30
Show Gist options
  • Save billrobbins/1510314 to your computer and use it in GitHub Desktop.
Save billrobbins/1510314 to your computer and use it in GitHub Desktop.
Update Live OT Cycle
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(window).load(function() {
$j('#slider').nivoSlider({
effect:'<?php echo $ot_cycle_settings['effect']; ?>',
animSpeed:500,
slices:1,
pauseTime:<?php echo ($ot_cycle_settings['delay'] * 1000); ?>,
directionNav:false
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment