My friend built a website with GoDaddy.com's Website Builder, and he asked me to add a simple slideshow to it. I'm about as big of a novice as can be when it comes to JavaScript, but I found some code that I was able to modify to create what he wanted. (The code that I found is here: http://www.2createawebsites.com/image-slide-show-2.php) My modified code is below:
<script type="text/javascript" src="http://www.2createawebsites.com/resources/howtocreateawebsitefadeslide.js"></script>
<script type="text/javascript">
var mygallery = new fadeSlideShow({
wrapperid: "fadeshow2",
dimensions: [645, 300],
imagearray: [
["https://cache.nebula.phx3.secureserver.net/obj/NEI5NDhBRDJBODdCMzc5NzQwNkI6OWY4NjEzNjA4NWIxMjIwZWRiZDM3YjYxZDAxZWUyMTU=?uid=0eb2a385-f05b-4183-84fb-f593b956edfe", "https://appelbrassandwoodwind.com/Schedule_Repair.html", "_new"],
["https://cache.nebula.phx3.secureserver.net/obj/NEI5NDhBRDJBODdCMzc5NzQwNkI6Y2UzNTg1M2MwOWNlZTFlN2I3OTI4OWEwMDhlM2Y1YmU=?uid=4dcdb1ea-535a-45b3-9cdf-e449f7a6ffde", "https://appelbrassandwoodwind.com/Instrument_Purchase.html", "_new"],
["https://cache.nebula.phx3.secureserver.net/obj/NEI5NDhBRDJBODdCMzc5NzQwNkI6MWJlOWNmMjkzNzc0MmE4MGI3ODlhZGYyZWQyZmJjYjQ=?uid=f87212cc-b629-474f-a4a9-7f56de88c1fc", "https://appelbrassandwoodwind.com/Instrument_Rental.html", "_new"],
["https://cache.nebula.phx3.secureserver.net/obj/NEI5NDhBRDJBODdCMzc5NzQwNkI6MDY3OWRiNDU3Yzg0YzMxNjIxMGY0YjMwNDk4ZDcwZjE=?uid=ab991519-85e4-4a5e-aea4-d6448f0d6708", "https://appelbrassandwoodwind.com/Beginner_Layaway.html", "_new"],
["https://cache.nebula.phx3.secureserver.net/obj/NEI5NDhBRDJBODdCMzc5NzQwNkI6YmE1N2Q0YmE0Y2RlMjQzNjRiMDg4MGYwZWUwZDg5YmU=?uid=f8e39740-fe7b-4d3d-a371-b23a89056651", "https://appelbrassandwoodwind.com/Teacher_List.html", "_new"]
],
displaymode: {
type: 'auto',
pause: 2500,
cycles: 0,
wraparound: false
},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<div id="fadeshow2"></div>
The resulting slide show can be viewed below the "Home Page" text at (https://appelbrassandwoodwind.com/). The slide show works perfectly in IE, FireFox and Safari, but it does not work in Chrome. When I hit F12 in Chrome and go to the console, I get the following: Uncaught ReferenceError: fadeSlideShow is not defined. I followed the "src" path in the script to make sure that the fadeSlideShow function is defined there and I confirmed that it is. Therefore, I don't understand why I'm getting this error, especially because the other browsers display the slide show as expected.
I performed an extensive search of this issue and while I found that other people had this problem, either no solutions were offered or the ones that were offered were way over my head. Any help would be greatly appreciated.
Thanks!