SDshooter
06-20-2009, 06:45 PM
I'm trying the JavaScript example on JavascriptKit (http://www.javascriptkit.com/javatutors/externalphp2.shtml) for Dynamically populating a JavaScript image slideshow. However, it doesn't work - it sits with the original image. I'm guessing that it's not getting the image array. The instructions aren't clear, so this is what I've tried thus far with no success:
1. Place PHP portion in Head. No joy.
2. Save PHP portion as getimages.php in the dir with the images. No joy.
3. Save PHP portion as getimages.php in the same dir as the page to display the slideshow. No joy.
4. Save the PHP portion without any HTML tags (example code only) as getimages.php in the dir with the images. No joy.
In all cases the JavaScript portion is inserted where I want the slideshow.
Is this example missing something that I can't find???
Thanx,
Wm
1. Place PHP portion in Head. No joy.
2. Save PHP portion as getimages.php in the dir with the images. No joy.
3. Save PHP portion as getimages.php in the same dir as the page to display the slideshow. No joy.
4. Save the PHP portion without any HTML tags (example code only) as getimages.php in the dir with the images. No joy.
In all cases the JavaScript portion is inserted where I want the slideshow.
Is this example missing something that I can't find???
Thanx,
Wm