View Single Post
  #9  
Old 03-09-2008, 04:24 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
it is set to work with simple template, I think you will have to midified the lightbox.js

Code:
*/
// -----------------------------------------------------------------------------------

//
//	Configuration
//
var fileLoadingImage = "templates/simple/images/loading.gif";		
var fileBottomNavCloseImage = "templates/simple/images/closelabel.gif";

var overlayOpacity = 0.8;	// controls transparency of shadow overlay

var animate = true;			// toggles resizing animations
var resizeSpeed = 7;		// controls the speed of the image resizing animations (1=slowest and 10=fastest)

var borderSize = 10;		//if you adjust the padding in the CSS, you will need to update this variable

// -----------------------------------------------------------------------------------

//
var fileLoadingImage = "templates/simple/images/loading.gif";
var fileBottomNavCloseImage = "templates/simple/images/closelabel.gif";

change this line template/yourtemplatename/image..7

Also for the formating include the lightbox.css file in your browse page

Code:
<script type="text/javascript" src="templates/yourtemplatename/scripts/prototype.js"></script>
<script type="text/javascript" src="templates/yourtemplatename/scripts/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="templates/yourtemplatename/scripts/lightbox.js"></script>

copy all files in scripts and css from the simple folder I have put in the addon
Reply With Quote