Hi all,
I turn back to the community for some problems I couldn't solve myself.
I have two problems with the slideshow javascript (in include/slideshow.inc.php):
-the javascript seems to require that the image name is "slideshow" on the displayimage.php page, but an image can't have a name attribute. I searched on
www.CodeLifter.com but there seems to be no update for this javascript. anyone has an idea to convert this "name" into an "id", for example ??
-the end slideshow function is not working on non-ie browsers when I replace the ampersands by & . if I leave them, they generate htmal errors but the function apparently works... Don't like the 10 errors though!
I removed the cat in order to reduce them but don't know what to do with the ampersand for the pos, tried to change it by %26 but it wasn't converted as it should be...
Maybe the problem is that it's php in a javascript? Clueless...
Heres the code as I changed it:
function endSlideShow(){
self.document.location = 'displayimage.php?album=<?php echo isset($HTTP_GET_VARS['album']) ? $HTTP_GET_VARS['album'] : ''?>&pos='+pos
}
preLoadPic(j)
</script>
- Last problem, when the picinfo is displayed on displayimage, one error is generated by the datetaken exif info: the w3 validator says the last figure for seconds is a "non SGML character number 0"... Didn't find out what it means and how to correct this, even if it is minor...
Any help would be greatly appreciated...
The rest of the gallery seems to be validating (you can still check, I stil haven't put a lot of pics but it will give an idea), still have to clean off the tables in admin pages and I will post all my modified files, probably this week end... I noticed that the pages generate were on average 40 to 50% lighter without the tables... not bad!
Best regards and thanks in advance for your help
Jul