Replace:
Code:
$(document).ready(function(){
base_url = document.location.href.substring(0, document.location.href.indexOf('index.html'), 0);
$(".lightbox").lightbox({
fitToScreen: true,
imageClickClose: false
});
$(".lightbox-2").lightbox({
fitToScreen: true
});
$(".lightbox-json").lightbox({
fitToScreen: true,
jsonData: new Array(
{url: base_url + 'images/image-0.jpg', title: 'Image 1 loaded using JSON data' },
{url: base_url + 'images/image-1.jpg', title: 'Image 2 loaded using JSON data' },
{url: base_url + 'images/image-2.jpg', title: 'Image 3 loaded using JSON data' },
{url: base_url + 'images/image-3.jpg', title: 'Image 4 loaded using JSON data' }
),
loopImages: true,
imageClickClose: false,
disableNavbarLinks: true
});
});
With:
Code:
jQuery(document).ready(function(){
jQuery(".lightbox-2").lightbox({
fitToScreen: true
});
});
Get rid of this:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js">
Bookmarks