...

View Full Version : Dynamically populating a JavaScript image slideshow



SDshooter
06-20-2009, 07: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

arthurakay
06-23-2009, 03:52 PM
1: Post some code. In order to help you we need to see what it is that you're trying to do.

2: Try running your page in Firefox. Turn on Firebug and use the "Console" tag to see if you're getting any JavaScript errors.

My bet is that some error is encountered and the page abandons your script.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum