PDA

View Full Version : fade effect with text



lelu
01-24-2007, 09:48 PM
1) Script Title: Swiss Army Image Slideshow

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

3) Describe problem:
I have an error.
I belive that I did not fill out the information correctly.


new inter_slide(Slides_array_name, Width, Height, Interval)
new inter_slide("toronto_20009.jpg" width="500" height="375")


Also could not dwnload
swissarmy.js
may be that is the reason?

Please, advise.

Thank you

tonyking
01-25-2007, 02:59 AM
You must download swissarmy.js and place it in the same directory as the page in which you call to the script.

- or

If placed in a different directory, make sure you find this portion of the java script in the HEAD of your document:


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


and change "swissarmy.js" to the location of where you placed it, most easily done with the full url. Example:


<script src="http://www.yoursite.com/folder/swissarmy.js" type="text/javascript">

it's not going to work period, let alone correctly if you don't have that java script as well as the script in the head of your document, as the instructions show on the script's page.

jscheuer1
01-25-2007, 05:38 AM
Also, this:


new inter_slide(Slides_array_name, Width, Height, Interval)
new inter_slide("toronto_20009.jpg" width="500" height="375")

should look like this:


<script type="text/javascript">
//new inter_slide(Slides_array_name, Width, Height, Interval)
new inter_slide("name_of_your_array", 500, 375)
</script>

or even this:


<script type="text/javascript">
new inter_slide("name_of_your_array", 500, 375)
</script>

And you need the rest of the on the page (the head part, like it says on the demo page) of the script as well as the external part that tonyking mentioned.

Go back and read over the demo page again. If you are having trouble getting the:

swissarmy.js (http://www.dynamicdrive.com/dynamicindex14/swissarmy/swissarmy.js)

Right click on it and choose 'save as' and save it to the same folder that your page is in.

lelu
01-27-2007, 10:21 AM
Thank you Guys,

I think the problem is the "swissarmy.js" can not be open and dowloaded by some reason.:confused:

jscheuer1
01-27-2007, 11:05 AM
Don't open it. Right click on it and choose 'save target as' or 'save as'. Once you have it on your computer, you don't need to open it, it just has to be in the same folder as your page. Once on your computer, you can open it if you want with a text editor such as Notepad.