Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Dynamically populating a JavaScript image slideshow

    I'm trying the JavaScript example on JavascriptKit 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

  • #2
    Regular Coder
    Join Date
    Nov 2007
    Location
    Chicago
    Posts
    134
    Thanks
    2
    Thanked 9 Times in 9 Posts
    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.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •