Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- this script got from www.facebook.com/thuechen-Coded by: RICHARD ENAGE -->
- <html>
- <head>
- </head>
- <body>
- <script language="javascript" type="text/javascript">
- <!-- Begin
- // Set slideShowSpeed (milliseconds)
- var slideShowSpeed = 2000;
- // Duration of crossfade (seconds)
- var crossFadeDuration = 3;
- // Specify the image files
- var Pic = new Array();
- // to add more images, just continue
- // the pattern, adding to the array below
- Pic[0] = 'http://www.htmlbestcodes.com/images/toad.jpg'
- Pic[1] = 'http://www.htmlbestcodes.com/images/lizard.jpg'
- Pic[2] = 'http://www.htmlbestcodes.com/images/chameleon.jpg'
- Pic[3] = 'http://www.htmlbestcodes.com/images/gecko.jpg'
- Pic[4] = 'http://www.htmlbestcodes.com/images/gecko.jpg'
- Pic[5] = 'http://www.htmlbestcodes.com/images/gecko.jpg'
- Pic[6] = 'http://www.htmlbestcodes.com/images/gecko.jpg'
- Pic[7] = 'http://www.htmlbestcodes.com/images/gecko.jpg'
- // do not edit anything below this line
- var t;
- var j = 0;
- var p = Pic.length;
- var preLoad = new Array();
- for (i = 0; i < p; i++) {
- preLoad[i] = new Image();
- preLoad[i].src = Pic[i];
- }
- function runSlideShow() {
- if (document.all) {
- document.images.SlideShow.style.filter="blendTrans(duration=2)";
- document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
- document.images.SlideShow.filters.blendTrans.Apply();
- }
- document.images.SlideShow.src = preLoad[j].src;
- if (document.all) {
- document.images.SlideShow.filters.blendTrans.Play();
- }
- j = j + 1;
- if (j > (p - 1)) j = 0;
- t = setTimeout('runSlideShow()', slideShowSpeed);
- }
- window.onload=runSlideShow;
- // End -->
- </script>
- <center>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td id="VU" height=190 width=330>
- <img src="http://www.htmlbestcodes.com/images/toad.jpg" name='SlideShow' width=330 height=190>
- </td>
- </tr>
- </table>
- </center>
- <br/><div style="clear:both"></div><div><a target="_blank" href="http://www.facebook.com/thuechen"><span style="font-size: 8pt; text-decoration: none">FACEBOOK </span></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement