/    Sign up×
Community /Pin to ProfileBookmark

javascripts–Slideshows

Can anyone help me??? I am not sure what to do here is the javascript but where do I add my pictures (They are saved under My Documents) Can anyone help me?? Also then how do I paste it in my website? I am under geocities.

<!– TWO STEPS TO INSTALL BASIC SLIDESHOW:

  • 1. Copy the coding into the HEAD of your HTML document

  • 2. Add the last code into the BODY of your HTML document –>
  • <!– STEP ONE: Paste this code into the HEAD of your HTML document –>

    <HEAD>

    <SCRIPT LANGUAGE=”JavaScript”>
    <!– Original: Mike Canonigo ([email protected]) –>
    <!– Web Site: http://www.munkeehead.com –>

    <!– This script and many more are available free online at –>
    <!– The JavaScript Source!! http://javascript.internet.com –>

    <!– Begin
    NewImg = new Array (
    “images/1.gif”,
    “images/2.gif”,
    “images/3.gif”
    );
    var ImgNum = 0;
    var ImgLength = NewImg.length – 1;

    //Time delay between Slides in milliseconds
    var delay = 3000;

    var lock = false;
    var run;
    function chgImg(direction) {
    if (document.images) {
    ImgNum = ImgNum + direction;
    if (ImgNum > ImgLength) {
    ImgNum = 0;
    }
    if (ImgNum < 0) {
    ImgNum = ImgLength;
    }
    document.slideshow.src = NewImg[ImgNum];
    }
    }
    function auto() {
    if (lock == true) {
    lock = false;
    window.clearInterval(run);
    }
    else if (lock == false) {
    lock = true;
    run = setInterval(“chgImg(1)”, delay);
    }
    }
    // End –>
    </script>

    </HEAD>

    <!– STEP TWO: Copy this code into the BODY of your HTML document –>

    <BODY>

    <img src=”images/1.gif” name=”slideshow”>
    <table>
    <tr>
    <td align=”right”><a href=”javascript:chgImg(-1)”>Previous</a></td>
    <td align=”center”><a href=”javascript:auto()”>Auto/Stop</a></td>
    <td align=”left”><a href=”javascript:chgImg(1)”>Next</a></td>
    </tr>
    </table>

    <p><center>
    <font face=”arial, helvetica” size”-2″>Free JavaScripts provided<br>
    by <a href=”http://javascriptsource.com”>The JavaScript Source</a></font>
    </center><p>

    <!– Script Size: 1.73 KB –>

    to post a comment
    JavaScript

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @AdamBrillFeb 14.2003 — Enclosed is a working copy of this script. It has the images and everything already in it. Just unzip it and it should work. Put all of your images in the images folder in place of the ones that I made. In this part of the code:

    NewImg = new Array (

    "images/1.gif",

    "images/2.gif",

    "images/3.gif",

    "images/4.gif",

    "images/5.gif",

    "images/6.gif");

    You can specify the name of the images. Leave the images part there, and just change the part after that. Like this:

    "images/pic1.gif",

    You can also add more or delete some of them. Let me know if you have any problems...

    [upl-file uuid=f601107c-6021-4c4a-9750-ad9674470ad7 size=3kB]site.zip[/upl-file]
    ×

    Success!

    Help @Brooke527 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...