// Lightview 2.3 - 18-06-2008 // Copyright (c) 2008 Nick Stakenburg (http://www.nickstakenburg.com) // // Licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License // http://creativecommons.org/licenses/by-nc-nd/3.0/ // More information on this project: // http://www.nickstakenburg.com/projects/lightview/ var Lightview = { Version: '2.3', // Configuration options: { backgroundColor: '#ffffff', // Background color of the view border: 12, // Size of the border buttons: { opacity: { // Opacity of inner buttons disabled: 0.4, normal: 0.75, hover: 1 }, side: { display: true }, // show side buttons innerPreviousNext: { display: true }, // show the inner previous and next button slideshow: { display: true } // show slideshow button }, cyclic: false, // Makes galleries cyclic, no end/begin. images: '../images/lightview/', // The directory of the images, relative to this file or an absolute url imgNumberTemplate: 'Image #{position} of #{total}', // Want a different language? change it here keyboard: { enabled: true }, // Enabled the keyboard buttons overlay: { // Overlay background: '#000', // Background color, Mac Firefox & Safari use overlay.png close: true, // Overlay click closes the view opacity: 0.85, display: true }, preloadHover: true, // Preload images on mouseover radius: 12, // Corner radius of the border removeTitles: true, // Set to false if you want to keep title attributes intact resizeDuration: 0.9, // When effects are used, the duration of resizing in seconds slideshowDelay: 5, // Seconds to wait before showing the next slide in slideshow titleSplit: '::', // The characters you want to split title with transition: function(pos) { // Or your own transition return ((pos/=0.5) < 1 ? 0.5 * Math.pow(pos, 4) : -0.5 * ((pos-=2) * Math.pow(pos,3) - 2)); }, viewport: true, // Stay within the viewport, true is recommended zIndex: 5000, // zIndex of #lightview, #overlay is this -1 // Optional closeDimensions: { // If you've changed the close button you can change these large: { width: 85, height: 22 }, // not required but it speeds things up. small: { width: 32, height: 22 }, innertop: { width: 22, height: 22 }, topclose: { width: 22, height: 18 } // when topclose option is used }, defaultOptions : { // Default open dimensions for each type ajax: { width: 400, height: 300 }, iframe: { width: 400, height: 300, scrolling: true }, inline: { width: 400, height: 300 }, flash: { width: 400, height: 300 }, quicktime: { width: 480, height: 220, autoplay: true, controls: true, topclose: true } }, sideDimensions: { width: 16, height: 22 } // see closeDimensions }, classids: { quicktime: 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', flash: 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' }, codebases: { quicktime: 'http://www.apple.com/qtactivex/qtplugin.cab#version=7,3,0,0', flash: 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' }, errors: { requiresPlugin: "
Please download and install the required plugin from:
#{pluginspage}