I've created next / previous buttons (arrows) with the below code inserted into my custom html...
It works great with projects containing just images. When I embed a video via Vimeo the buttons next / previous stop working?
This page works correctly:
http://cargocollective.com/josephconiff/Yes-No
This page does not:
http://cargocollective.com/josephconiff/speaker
Any thoughts?
Thanks
It works great with projects containing just images. When I embed a video via Vimeo the buttons next / previous stop working?
This page works correctly:
http://cargocollective.com/josephconiff/Yes-No
This page does not:
http://cargocollective.com/josephconiff/speaker
Any thoughts?
Thanks
<script type="text/javascript">$(document).bind("projectLoadComplete", function(e, pid){ $(".project_next a").text(" →")});</script>
<script type="text/javascript">
$(document).bind("projectLoadComplete", function(e, pid){
$(".project_header").prepend('<div id="prev_project"><a href="#" >← </a></div>');
$("#prev_project a").click(function(){
$(document).trigger("showPrevProject");
return false;
});
});
</script>