Sha256: 66f0b83fcdf9c12fa3e356abe1858c9b41533e9d1522bd8fd5233f64f6eab778
Contents?: true
Size: 972 Bytes
Versions: 63
Compression:
Stored size: 972 Bytes
Contents
// APPLICATION.JS // In jQuery if you dont mind. // Cufon Cufon.replace( "", {hover: 'true',fontFamily: 'Helvetica Neue LT Std'}); $(document).ready(function () { // Gallery if($("ul.gallery li").length > 3) { $("#gallery").prepend("<a class='carousel-back'>Backward</a>"); $("#gallery").append("<a class='carousel-forward'>Forward</a>"); $(".image-gallery").jCarouselLite({ visible: 3, btnNext: ".carousel-forward", btnPrev: ".carousel-back" }); }; // Use fancy box on all images that link to an image $("a[href$=jpg], a[href$=png], a[href$=gif]").fancybox({ 'zoomOpacity' : true, 'overlayShow' : true, 'zoomSpeedIn' : 500, 'zoomSpeedOut' : 500, 'overlayOpacity' : 0.8, 'overlayColor' : '#000' }); // External links open in a new tab/window $("a[href^=http]").attr('target', '_blank'); }); // close document.ready
Version data entries
63 entries across 63 versions & 1 rubygems