Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-20-2009, 06:45 PM   PM User | #1
SDshooter
New to the CF scene

 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SDshooter is an unknown quantity at this point
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
SDshooter is offline   Reply With Quote
Old 06-23-2009, 02:52 PM   PM User | #2
arthurakay
Regular Coder

 
Join Date: Nov 2007
Location: Chicago
Posts: 134
Thanks: 2
Thanked 9 Times in 9 Posts
arthurakay is an unknown quantity at this point
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.
__________________
Arthur Kay
arthurakay is offline   Reply With Quote
Reply

Bookmarks

Tags
dynamic, javascript, php, slideshow

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:31 AM.


Advertisement
Log in to turn off these ads.