I've now reworked my sample and it finally loads picture after picture
yet it doesn't show them. My code is now
var files = new Array();
files = ?PHP echo $json-encode ($files) ?;
var pos = 0;
(pos 0)? $('#prev').show(): $('#prev').hide();
(pos (files.length-1))?
I currently retrieve all pictures of my gallery with the following PHP
code
$files = getFiles ($d);
if (count ($files) 0) {
foreach ($files as $key = $f) {
echo img align=\center\ src=\$f\brbr;
}
}
simply adding picture after picture. But since there will be many more
2 matches
Mail list logo