Mreichert
11-02-2011, 06:28 PM
Hello, I have this error when I try to load my slideshow. "translideshow is undefined.
Here is my code in the head section of my page
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<style type="text/css">
#myslideshow{ /*sample CSS for demo*/
border:2px solid black;
}
</style>
<script src="translucentslideshow.js" type="text/javascript">
/***********************************************
* Translucent slideshow- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
<script type="text/javascript">
var translideshow1=new translideshow({
wrapperid: "myslideshow", //ID of blank DIV on page to house Slideshow
dimensions: [350, 260], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.fisherelectronics.net/files/cabinent_mount_4.jpg"], //["image_path", "optional_link", "optional_target"]
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new"],
["http://i30.tinypic.com/531q3n.jpg"],
["http://i31.tinypic.com/119w28m.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3000, cycles:20000, pauseonmouseover:true},
orientation: "h", //Valid values: "h" or "v"
persist: true, //remember last viewed slide and recall within same session?
slideduration: 400 //transition duration (milliseconds)
})
</script>
I realize I need to change the images and locations of the pictures after the first, however I don't think that should cause it not to load the first image.
Link to webpage is:
http://www.fisherelectronics.net/HDTV---Surround-Installations.html
Thanks for any help, it would be appreciated.
Here is my code in the head section of my page
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<style type="text/css">
#myslideshow{ /*sample CSS for demo*/
border:2px solid black;
}
</style>
<script src="translucentslideshow.js" type="text/javascript">
/***********************************************
* Translucent slideshow- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
<script type="text/javascript">
var translideshow1=new translideshow({
wrapperid: "myslideshow", //ID of blank DIV on page to house Slideshow
dimensions: [350, 260], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.fisherelectronics.net/files/cabinent_mount_4.jpg"], //["image_path", "optional_link", "optional_target"]
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new"],
["http://i30.tinypic.com/531q3n.jpg"],
["http://i31.tinypic.com/119w28m.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3000, cycles:20000, pauseonmouseover:true},
orientation: "h", //Valid values: "h" or "v"
persist: true, //remember last viewed slide and recall within same session?
slideduration: 400 //transition duration (milliseconds)
})
</script>
I realize I need to change the images and locations of the pictures after the first, however I don't think that should cause it not to load the first image.
Link to webpage is:
http://www.fisherelectronics.net/HDTV---Surround-Installations.html
Thanks for any help, it would be appreciated.