View Single Post
Old 03-03-2011, 01:59 PM  
Dennis69
Confirmed User
 
Join Date: Feb 2003
Location: Dreamland
Posts: 1,685
Need Help With Code Please

I just purchased UU Gallery for wordpress, I'm trying to use HQ images and then have the js scale them but I keep getting errors, I have used this script with robo Gallery and it worked fine

Code:
id="thepic" onClick="scaleImg('thepic')" onLoad="scaleImg('thepic')"
And when I add it like this:

Code:
   $BigLink['active']     = "<a href='#NextLink#'><img id="thepic" onClick="scaleImg('thepic')" onLoad="scaleImg('thepic')"src='#BigPhoto#' width='#Width#' height='#Height#' border='0' alt='Click here for next image'></a>";
   $BigLink['notactive']  = "<img id="thepic" onClick="scaleImg('thepic')" onLoad="scaleImg('thepic')"src='#BigPhoto#' width='#Width#' height='#Height#'>";
I get the error:
Parse error: syntax error, unexpected T_STRING in /home/celebuzz/public_html/galleries/viewer.php on line 8

Any help would be greatly appreciated
__________________
HaHaHa
Dennis69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote