PDA

View Full Version : Fade In slide show



Christina T
06-12-2005, 01:48 PM
Fade-in slideshow
Author: Dynamic Drive

I am having trouble figuring out how to put up alternate words for pictures.
I do know that it is ALT=" " for HTML
I am trying to put up that it is my child's pictures in the java script. So people that have graphics disable will be able to tell what is there.

Link to page
http://ourchildren.angelcities.com/Rachel's%20Ultrasound.html

Another question:
Is there some way that I can fix it so that an image can not be taken off of the site?

Christina T
06-12-2005, 01:51 PM
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

jscheuer1
06-13-2005, 05:20 AM
This script was not designed for easy insertion of alt attributes for the images. Since you only seem to want one alt text for the entire show, this can be done fairly easily. Find this line in the script:
tempcontainer+='<img src="'+fadeimages[i][0]+'" border="0">'add to it so it looks like this:
tempcontainer+='<img src="'+fadeimages[i][0]+'" border="0" alt="My Child\'s Ultrasound Images">'The added part is in green and red. The red part can be whatever alt text you prefer, just be aware that if you use a single quote (') it must be escaped with a downward slash (\) as in my example's use of Child\'s for Child's.

There is no way to prevent others from copying your images.

Christina T
06-13-2005, 12:48 PM
Thank you so much John. It worked perfectly.

Mzitaliana
06-14-2005, 10:39 AM
I need help aswell with the Fade In Slide Show.... :confused:

1. I would like to set my images to be centred rather than been shown on the left of the page - how do i do that?

2. I have alot of white space under my images - how do i get rid of that?

I am using Dreamweaver MX 2004

Thank you in advance

jscheuer1
06-14-2005, 08:52 PM
To center the slideshow, put it inside a centered element. The easiest way to do that is:

<center>
slideshow goes here
</center>

As for white space, it depends on what is causing it. If the images themselves have white space, crop them. If it is your layout, removing extra <br>'s, empty div's, paragraphs and tables from beneath the slideshow, if any, will help. It really depends upon why the white space is there in the first place.