PDA

View Full Version : Left-Right image slideshow script


Mrs T
06-01-2006, 06:11 PM
I can preview the show in my browser but once I FTP to my webserver, the images show as red X's. (I'm new to JavaScripts) Here is my page: http://www.tailliteswalker.com

<script language="JavaScript1.2">

/*
Left-Right image slideshow Script-
By Dynamic Drive (www.dynamicdrive.com)
For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com
*/

///////configure the below four variables to change the style of the slider///////
//set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!
var scrollerwidth='240px'
var scrollerheight='160px'
var scrollerbgcolor='black'
//3000 miliseconds=3 seconds
var pausebetweenimages=3000


//configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
var slideimages=new Array()
slideimages[0]='<a href="http://www.yokemtoyota.com"><img src="images/toyota_1.jpg" border=0"></a>'
slideimages[1]='<img src="images/toyota_2.jpg">'
slideimages[2]='<img src="images/toyota_3.jpg">'
slideimages[3]='<img src="images/toyota_4.jpg">'
slideimages[4]='<img src="images/toyota_5.jpg">'
slideimages[5]='<img src="images/toyota_6.jpg">'
slideimages[6]='<img src="images/toyota_7.jpg">'

Twey
06-01-2006, 06:14 PM
Probably, images/toyota_?.jpg don't exist.

Mrs T
06-01-2006, 06:34 PM
I'm missing where yur talking about - each image has a number ie images/toyota_1.jpg

Mrs T
06-01-2006, 06:43 PM
I renamed my images to read images/toyota_01 etc.

benslayton
06-01-2006, 06:58 PM
Have you uploaded them to your server?

Mrs T
06-01-2006, 07:09 PM
Yes, I uploaded them to my server.

benslayton
06-01-2006, 07:16 PM
ftp to your web server , click on the picture, and copy the link and paste it here.

Mrs T
06-01-2006, 07:51 PM
maybe i'm misunderstanding. when i ftp to web server, and click the picture, it does not open the picture. When I go to my web server and click the picture it opens up http://www.tailliteswalker.com

benslayton
06-01-2006, 07:56 PM
when i ftp to web server, and click the picture, it does not open the picture.
Then what does it open.

benslayton
06-01-2006, 07:58 PM
whatever the problem is it has to be the links to the pictures. Probablly a some words that were mispelled by mistake.

Twey
06-01-2006, 08:02 PM
The images, images/toyota_?.jpg, aren't where you've said they should be. 1 (http://www.tailliteswalker.com/images/toyota_01.jpg) 2 (http://www.tailliteswalker.com/images/toyota_02.jpg) 3 (http://www.tailliteswalker.com/images/toyota_03.jpg)...

Mrs T
06-01-2006, 08:34 PM
From the server, I can right click and this is the address: http://tailliteswalker.com/fm/fm_images/pict.gif

If I click open or open in new window then it goes to http://www.tailliteswalker.com

when I click it my options are quick view or edit and it opens in notepad:

Never do I actual see my picture

JFIFHHmICC_PROFILE]LinomntrRGB XYZ  1acspMSFTIEC sRGB-HP cprtP3desclwtptbkptrXYZgXYZ+bXYZ?dmndSpdmddÈvuedKview$lumimeas $tech- rTRC9 gTRC E bTRCQ textCopyright (c) 1998 Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $ descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_. \XYZ L VPWmeassig CRT curv
#(-27;@EJOTY^chmrw|
%+28>ELRY`gnu| &/8AKT]gqz !-8COZfr~ -;HUcq~
+:IXgw'7HYj{+=Oat 2FZn  % : O d y

'
=
T
j





Twey
06-01-2006, 09:09 PM
From the server, I can right click and this is the address: http://tailliteswalker.com/fm/fm_images/pict.gifEr, no. That's the address of an icon used to represent the file, not the file itself.when I click it my options are quick view or edit and it opens in notepad:

Never do I actual see my picture

ÿØÿàJFIFHHÿâmICC_PROFILE]LinomntrRGB XYZ Î 1acspMSFTIEC sRGBöÖÓ-HP cprtP3descƒlwtptïbkptrXYZgXYZ+bXYZ?dmndSpdmddÈvuedK†viewÑ$lumiõmeas $tech- rTRC9 gTRC E bTRCQ textCopyright (c) 1998 Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ óQÌXYZ XYZ o¢8õXYZ b™·…ÚXYZ $ „¶ÏdescIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view¤þ_.ÏíÌ \žXYZ L VPWçmeassig CRT curv
#(-27;@EJOTY^chmrw|†‹•šŸ¤©®²·¼ÁÆËÐÕÛàåëðöû
%+28>ELRY`gnu|ƒ‹’š¡©±¹ÁÉÑÙáéòú &/8AKT]gqz„Ž˜¢¬¶ÁËÕàëõ !-8COZfr~Š–¢®ºÇÓàìù -;HUcq~Œš¨¶ÄÓáðþ
+:IXgw†–¦µÅÕåö'7HYj{Œ¯ÀÑãõ+=Oat†™¬¿Òåø 2FZn‚–ª¾Òçû  % : O d y ¤ º Ï å û

'
=
T
j

˜
®
Å
ÜThat is probably your image. However, it's still not where it ought to be.

Mrs T
06-01-2006, 10:42 PM
Thanks, I'm going to start over.