// Lightview 2.5 - 17-5-2009 // Copyright (c) 2008-2009 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.5', // 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 }, // Toggle side buttons innerPreviousNext: { display: true }, // Toggle the inner previous and next button slideshow: { display: true }, // Toggle slideshow button topclose: { side: 'right' } // 'right' or 'left' }, controller: { // The controller is used on sets backgroundColor: '#4d4d4d', border: 6, buttons: { innerPreviousNext: true, side: false }, margin: 18, opacity: 0.7, radius: 6, setNumberTemplate: '#{position} of #{total}' }, cyclic: false, // Makes galleries cyclic, no end/begin images: 'http://static.musicdealerwebkit.com/lightview/images/lightview/', // The directory of the images, from this file imgNumberTemplate: 'Image #{position} of #{total}', // Want a different language? change it here keyboard: true, // Toggle keyboard buttons menubarPadding: 6, // Space between menubar and content in px overlay: { // Overlay background: '#000', // Background color, Mac Firefox & Mac Safari use overlay.png close: true, opacity: 0.85, display: true }, preloadHover: false, // 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.45, // The duration of the resize effect in seconds slideshowDelay: 5, // Delay in seconds before showing the next slide 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 startDimensions: { // Dimensions Lightview starts at width: 100, height: 100 }, closeDimensions: { // Modify if you've changed the close button images large: { width: 77, height: 22 }, small: { width: 25, height: 22 } }, sideDimensions: { // Modify if you've changed the side button images width: 16, height: 22 }, defaultOptions : { // Default options for each type of view image: { menubar: 'bottom', closeButton: 'large' }, gallery: { menubar: 'bottom', closeButton: 'large' }, ajax: { width: 400, height: 300, menubar: 'top', closeButton: 'small', overflow: 'auto' }, iframe: { width: 400, height: 300, menubar: 'top', scrolling: true, closeButton: 'small' }, inline: { width: 400, height: 300, menubar: 'top', closeButton: 'small', overflow: 'auto' }, flash: { width: 400, height: 300, menubar: 'bottom', closeButton: 'large' }, quicktime: { width: 480, height: 220, autoplay: true, controls: true, closeButton: 'large' } } }, 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,5,5,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}