Sha256: 07b03ed7c54b157caa741c53524d4812d616757f5b10265f634fa5bc3dd2a320
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 Bytes
Contents
$(document).ready(function() { $(".gallery_slider").bxSlider({ auto: true, autoDelay: 3000, pause: 6000, controls: true }); $(".video_pod .video a").each(function(index) { var str = $(this).attr("href"); var yt_id = str.substring(str.lastIndexOf("/")+1, str.length); $(this).attr("href", "http://www.youtube.com/embed/" + yt_id + "?rel=0"); $(this).html("<div class='video_img'><img src='http://img.youtube.com/vi/" + yt_id + "/0.jpg' /></div>"); $(this).html( $(this).html() + "<div class='video_play'></div>" ); }); $(".video_pod .video a").colorbox({iframe:true, innerWidth:640, innerHeight:390, transition:"elastic"}); });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-pods-1.0.3 | public/javascripts/refinerycms-pods.js |
refinerycms-pods-1.0.2 | public/javascripts/refinerycms-pods.js |
refinerycms-pods-1.0.1 | public/javascripts/refinerycms-pods.js |