Stuatnt
06-16-2011, 08:06 AM
1) Script Title: Drop In Slideshow
2) Script URL (on DD):
3) Describe problem:
I am a new to scripting and hence I have been experiencing some problems when trying to get the script working.
I have downloaded the above script and inserted the first element of the script into the <HEAD> section as stated and the second element into the <Body>.
Below is the code I have applied
<HEAD>
<script type="text/javascript" src="http://www.xsitetest.com/dropinslideshow.js">
/***********************************************
* Drop-in Slideshow Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<Body>
<script type="text/javascript">
//Define Image Array. Syntax: ["image_path", "url_destination", "url_target"]
var myimages=new Array()
myimages[0]=["/Images/image1.jpg", http://www.xsitetest.com/Chrustmaster.html, "_Blank"]
myimages[1]=["/Images/Rat.jpg", http://www.xsitetest.com/Chrustmaster.html, "_Blank"]
myimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"]
//Create new drop-in slideshow
//Syntax: new dropinslideshow(image_array, slideshow_width, slideshow_height, delay_before_rotation)
new dropinslideshow(myimages, 200, 250, 3000)
</script>
As you can see I have changed the source in the HEAD section to reflect my site etc. Please note this is merely a test site but i wanted to test this against a site before promoting to one of my soon to go live sites.
My questions are:-
1) As you can see from the <Body> code against the myimages... I have basically created an Images folder on the root of my drive etc and referenced my site and the specific page ont he site i want the slideshow to appear, however I do not know if this is how the images shoudl be referenced.
Should they be in a particular folder or referenced in a particular way such C:\Images\.... etc, as I am unclear as to how they shoudl be referenced.
2) I have also downloaded the dropinslideshow.js as instructed via the site, however again i am unsure as to where this should sit. I have currently placed this into the same folder as the images e.g. Images folder ont he root, however again I am uncertain as to where this should be located for it to work.
Can anyone offer some insight on the above to helpa very frustrated individual.
Many thanks
Stuart
2) Script URL (on DD):
3) Describe problem:
I am a new to scripting and hence I have been experiencing some problems when trying to get the script working.
I have downloaded the above script and inserted the first element of the script into the <HEAD> section as stated and the second element into the <Body>.
Below is the code I have applied
<HEAD>
<script type="text/javascript" src="http://www.xsitetest.com/dropinslideshow.js">
/***********************************************
* Drop-in Slideshow Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<Body>
<script type="text/javascript">
//Define Image Array. Syntax: ["image_path", "url_destination", "url_target"]
var myimages=new Array()
myimages[0]=["/Images/image1.jpg", http://www.xsitetest.com/Chrustmaster.html, "_Blank"]
myimages[1]=["/Images/Rat.jpg", http://www.xsitetest.com/Chrustmaster.html, "_Blank"]
myimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"]
//Create new drop-in slideshow
//Syntax: new dropinslideshow(image_array, slideshow_width, slideshow_height, delay_before_rotation)
new dropinslideshow(myimages, 200, 250, 3000)
</script>
As you can see I have changed the source in the HEAD section to reflect my site etc. Please note this is merely a test site but i wanted to test this against a site before promoting to one of my soon to go live sites.
My questions are:-
1) As you can see from the <Body> code against the myimages... I have basically created an Images folder on the root of my drive etc and referenced my site and the specific page ont he site i want the slideshow to appear, however I do not know if this is how the images shoudl be referenced.
Should they be in a particular folder or referenced in a particular way such C:\Images\.... etc, as I am unclear as to how they shoudl be referenced.
2) I have also downloaded the dropinslideshow.js as instructed via the site, however again i am unsure as to where this should sit. I have currently placed this into the same folder as the images e.g. Images folder ont he root, however again I am uncertain as to where this should be located for it to work.
Can anyone offer some insight on the above to helpa very frustrated individual.
Many thanks
Stuart