groups

name language licence
Test for jQuery - RapidWeaver Other
custom css link for RapidWeaver CSS Other
ExtraContent Sample - Changed RapidWeaver HTML Other
JS/GOOGLE MAPS API : control custom + placemark + polyline Other Other
Test for jQuery - RapidWeaver JavaScript Other
serial-box-mac-crack-serial-keygen-rapidshare-download.html Other
ExtraContent Sample - Changed RapidWeaver HTML Other
RapidWeaver Media Albums with prettyPhoto 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...)