Click on this link in a browser such as Opera or FireFox (IE will pop up a dialogue):
http://jsdeluxe.cwsurf.de/bilder/crew/getpics.php
You will see that the array is being populated, but that the server is adding other code to the page. Many free hosts do this. Using some more Ajax, there is probably a way around this or you also may be able to put the code (in modified form) from getpics.php directly on your fotos2.html page and rename it to fotos2.php.
In addition to this problem, you have other scripts on fotos2.html which may be conflicting with the photo album script as well.
And, some of your image filenames use extended characters, it is better to use just the standard English alphabet for filenames.
First do this test and see what happens. Replace:
Code:
<script src="http://jsdeluxe.cwsurf.de/bilder/crew/getpics.php" type="text/javascript"></script>
<script type="text/javascript">
/***********************************************
* PHP Photo Album script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
var dimension="3x3" //Specify dimension of gallery (number of images shown), such as 4x2, 3x1 etc
with:
Code:
<script type="text/javascript">
var galleryarray=new Array();
galleryarray[0]=["Alexander Friedrich.JPG", "Sep 27, 2006 02:20:55"];
galleryarray[1]=["Gösta.JPG", "Sep 27, 2006 01:08:18"];
galleryarray[2]=["Fred Astor.JPG", "Sep 27, 2006 01:08:00"];
galleryarray[3]=["Ina.JPG", "Sep 27, 2006 01:08:36"];
galleryarray[4]=["Christoph Hieke.JPG", "Sep 27, 2006 01:07:26"];
galleryarray[5]=["Tobias Lieckefett.JPG", "Sep 27, 2006 01:11:16"];
galleryarray[6]=["Stefan Däuwel.JPG", "Sep 27, 2006 01:10:36"];
galleryarray[7]=["Isabella Schmid.JPG", "Sep 27, 2006 01:08:55"];
galleryarray[8]=["Daniel Weber.JPG", "Sep 27, 2006 01:07:43"];
galleryarray[9]=["Bea Halasa.JPG", "Sep 27, 2006 02:21:29"];
galleryarray[10]=["Marten Werner.JPG", "Sep 27, 2006 01:09:45"];
galleryarray[11]=["Nicolai Haller.JPG", "Sep 27, 2006 01:10:19"];
galleryarray[12]=["Kim Smith.JPG", "Sep 27, 2006 01:09:28"];
galleryarray[13]=["André Garbe.JPG", "Sep 27, 2006 02:21:12"];
galleryarray[14]=["Moritz.JPG", "Sep 27, 2006 01:10:02"];
galleryarray[15]=["Julian Schmidt.JPG", "Sep 27, 2006 01:09:11"];
galleryarray[16]=["Tobias & Fred.JPG", "Sep 27, 2006 01:10:59"];
/***********************************************
* PHP Photo Album script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
var dimension="3x3" //Specify dimension of gallery (number of images shown), such as 4x2, 3x1 etc
Bookmarks