shadowbox installation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

shadowbox installation


Can someone please link or write some simple step by step installation guide on shadowbox? i don't need any fancy options and stuff like that, just a simple gallery run by shadowbox, viewing images and videos. all i need is the code that adds the script into the html file, what files from the downloaded shadowbox Zip do i need and what code do i write when adding a link with shadowbox.

Reply | Threaded
Open this post in threaded view

Re: shadowbox installation

You can all read it here:

add the following code append to the head-tag
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="path/to/shadowbox-jquery.js"></script>
<script type="text/javascript" src="path/to/shadowbox.js"></script>

then open a script-tag and add the the following code append to the script-tag:
        // Shadowbox optional Options
        var options = {
                counterType: 'skip',
                continuous: true

then add rel="shadowbox" to every link you want.