groups

name language licence
mailto with subject HTML Other
JavaScript Compressor - HTML HTML GPL 2
RapidWeaver Media Albums with prettyPhoto JavaScript Other
jQuery boiler plate JavaScript Other
sikbox Live Search JavaScript Other
jsPathto.min.js JavaScript Other
SearchInWindow JavaScript Other
JavaScript Compressor - JavaScript JavaScript GPL 2

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 >



language: JavaScript
licence: Other

RapidWeaver Media Albums with prettyPhoto

options: view full snippetsend to code collector
// add lightbox/prettyPhoto to albums
var sdLightboxAlbums = (function() {
    // test if either album is true
    if ($('.album-wrapper').length || $('.movie-thumbnail-frame').length) {
        // load css (prettyPhoto)
        $("head").append("<link>").children(":last").attr({
            rel: "stylesheet",
            type: "text/css",
            href: RwGet.pathto('css/jquery.prettyPhoto.css')
        });
        // load js (prettyPhoto)
        $.getScript(RwGet.pathto('scripts/jquery.prettyPhoto.js'),
        function() {
            // once script is loaded
            // test if photo album is true
	
(Continues...)