Making an image which rotates several images

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Making an image which rotates several images

    I am relatively new to this, so this question may seem basic. Does Dreamweaver allow you to easily create an image which rotates several images in that location.
    dvack92 Guest

  2. Similar Questions and Discussions

    1. Making background images fill the page
      I am using Dreamweaver 8 and updating a website built in Frontpage years ago. They have a bg image (.gif) that only fills about 80 % of the width....
    2. Making Button (.btn) format images
      Is there a plug-in or other software that people know of that allows you to take Illustrator files and turn them into .btn format image files. I...
    3. Making a background with an image
      I want to make a background with a repeated image - as in HTML. I can make instances of the image and put them all close to each other, nested, but...
    4. Making images smaller, and displaying them!
      Hello, I've managed to build two web pages, one that can display images with associated text data in a table, and one that can resize and display...
    5. making images appear with timeline?
      go back to flash and do it as a movie. embed the movie in the html document to take up most of the screen. flash is so much better for this type of...
  3. #2

    Default Re: Making an image which rotates several images

    I guess what I am looking for is the Java script. I have 4 or 5 different images that I want to scroll through in one location.
    dvack92 Guest

  4. #3

    Default Re: Making an image which rotates several images

    Look here
    [url]http://www.dyn-web.com/javascript/rotate-img/[/url]
    lihaze Guest

  5. #4

    Default Re: Making an image which rotates several images

    I inserted my .GIF images, and only the first image appears. I am not sure if I
    am editing the code correctly. Can you check my code & see where I screwed up?

    Thanks for all your help.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>ROTATE</title>
    </head>

    <body>
    </body>
    </html>
    <script src="src/dw_rotator.js" type="text/javascript"></script>
    <script type="text/javascript">
    function initRotator(1) {
    // arguments: image name, rotation speed, (optional) path to images
    var rotator1 = new dw_Rotator('START', 1000, "/andrew's web
    trial/HOME_PICTS/");
    // add the images to rotate into that image object
    rotator1.addImages("DOMINION_HILLS_A_DUSK.GIF", "FRONT_A_1_mod_good.GIF",
    "interior_01.GIF", "REVISED_REAR_DUSK._LG_2JPG.GIF");
    //rotator1.rotate(); // sometimes may want to call rotate here
    dw_Rotator.start();
    }
    </script>
    </head>
    <body onload="initRotator(1)">


    <div class="flt">
    <!-- Image rotation here. First image in place -->
    <img name="START" src="/andrew's web
    trial/HOME_PICTS/DOMINION_HILLS_A_DUSK.JPG" width="170" height="170" alt="">
    </div>
    <script type="text/javascript">
    function displayCodeInfo(id) {
    function getPath(pn) {
    return pn.slice(0, pn.lastIndexOf("/") + 1);
    }

    if ( !window.opener || getPath(window.opener.location.pathname) !=
    getPath(window.location.pathname) ) {
    var el = document.getElementById? document.getElementById(id): null;
    if (el) el.style.display = "block";
    }
    }

    // in case not opened by presenting doc
    displayCodeInfo('ref');
    </script>
    </body>
    </html>

    dvack92 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139