PDA

View Full Version : Presentational Slideshow Script not working for me...



kippiper
10-03-2013, 10:37 PM
1) Script Title: Presentational Slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm

3) Describe problem:

I honestly admit that I do not have scripts experience. So I need some troubleshooting from you guys.

The site where I am using the Presentational Slideshow Script is: http://ww2.sulross.edu/museum/new/index.html
I am using the script in the center cell (where it is just a white space!) below the Background Image Carousel or big black rectangle (depending on whether I got the Background Image Carousel working!).

I BELIEVE I have all of the settings correct, but my images are not showing and the Presentational Slideshow Script is not working on the live site. (It works on my local site on my computer!).

Would you please take a look at it? I'm sure it's some little something I don't understand and don't know that I need to change.

Thanks in advance for your assistance!

KIP

Deadweight
10-03-2013, 11:17 PM
Im not entirely sure where you have everything located but try changing:

../images/slideshow/exhibits.jpg
to

/images/slideshow/exhibits.jpg

ajfmrf
10-04-2013, 06:45 PM
When I checked the page source this happened first off:

<script src="/scripts/bgcarousel.js" type="text/javascript">

when I click on this file I get this result:

[code]
<html><head><title>Error</title></head><body>The system cannot find the path specified.
</body></html>
[code]

(I hope I did that right-it has been a while)

then in different places you use ../images and other places you use /images

Maybe the image locations need to be fixed as DW points out

Beverleyh
10-04-2013, 07:27 PM
Be careful with your paths. A "/" at the start of your paths is telling the browser to look for the resource from the root of the website, so "/scripts/bgcarousel.js" means the same as "http://ww2.sulross.edu/scripts/bgcarousel.js". This isn't where your script is.

Your script is located at "http://ww2.sulross.edu/museum/new/scripts/bgcarousel.js", so to turn that into a relative path that you can use in your web page (which is in the "http://ww2.sulross.edu/museum/new/" directory), you would type "scripts/bgcarousel.js".

Similarly the exhibits pic is located at "http://ww2.sulross.edu/museum/new/images/slideshow/exhibits.jpg", so the relative path you use in your web page would be "images/slideshow/exhibit.jpg"

Hope that helps.