groups

name language licence
Test for jQuery - RapidWeaver JavaScript Other
DomReady.min JavaScript Other
extracontent.js JavaScript Other
del.ico.us cloud HTML Other
RapidWeaver Media Albums with prettyPhoto JavaScript Other
jQuery boiler plate JavaScript Other
sikbox Live Search JavaScript Other
jsPathto.min.js JavaScript Other

< 1 2 3 4 5 >



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...)