|
||
CATEGORIES Home Getting Started HTML Cheat Sheet Webmaster Tools HTML Help Forum Color Codes Link to us |
||||
How to do it Well obviously, the first step is to choose the images you want in your slide show. In this example, well be using the following:
Next, place the following code into the <HEAD> section of your web page: <script language="JavaScript1.1">Now, replace the image1.gif, image2.gif, and image3.gif with the actual names of your images. If you want more than 3 images, just add another line like this: var image4=new Image()and so on... Next, place the following code in the <BODY> section of your web page where you would like the slide show to appear: <img src="image1.gif" name="slide" width=000 height=000>Now replace everything in BLUE text to fit your page. Replace image1.gif with the name of your first image in your slide show. Next replace the 000 in the width and height tag to the actual width and height (in pixels) of the images in your slideshow. (all images should be the same size) Next replace the 3 in (step<3) with the number of images in your slideshow. Finally, replace the 2500 in ("slideit()",2500) with the amount of time (in milliseconds) you want it to take before each image changes. Example, 2500 will be 2.5 seconds, 500 will be ever 0.5 seconds, and so on.... EXAMPLE <html>This will look like this: Privacy Policy | Trademark Notices | User Agreement © 2001 TheHTMlSource.com, INC. All Rights Reserved. |