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

  1. #1

    Default Controlling Images

    Good afternoon,

    I'm looking for a method to fulfill a mandate given to me recently. I have
    been directed to "replace" our initial webpage (home page) on our Intranet with
    a "temporary" image that will display for 15 to 20 seconds and then be replaced
    with our standard webpage so that the users can "carry on" with their work. In
    other words, have a JPEG picture display for 15 seconds, then disappear and be
    replaced with our standard Welcome.html page. I've looked in some DreamWeaver
    manuals here, and I can't find anything that seems to be able to do this for me
    - but then again, I don't know "what" it is I'm looking for, so the task
    becomes a bit difficult to fulfill.
    The image that they want me to display is simply a picture image (a JPEG
    image) with a brief message in it. The administration is VERY specific about
    using THIS particular image. They have said that I can, however, do something
    to cause this to ONLY display once per session (drop a cookie down to the user
    perhaps?) so that this graphic image is seen only once per browser session.
    I'm making an *assumption* that there is a method in DreamWeaver to do this,
    or perhaps some nifty Java script floating around that might do a timed display
    of some image and then complete the rest of the page for processing. What I
    want to do is place some code into our Welcome.html page that will check for
    some cookie in the user's brower and if it does not exist, display this JPEG,
    drop a cookie into their browser, and then finish the processing of the
    Welcome.Html page. - and I want the cookie to expire when the user exits the
    browser.
    Can anyone out there help with this? Can you point me to the right direction?
    I'd be most appreciative.

    Thanks and have a great weekend

    Howard


    whgill Guest

  2. Similar Questions and Discussions

    1. Extension: Dynamic Images/Advance Random Images
      Hi there, I have downloaded 2 extensions: Dynamic Images or/and Advanced Random Images (kaosweaver.com); it seems both are the same and I have...
    2. Swapping Cell Images for Background Images
      Is there any plugin or extention for DW(studio8) out there that will quickly and with one click, let me remove an image inside a cell and...
    3. Creating Quick Vector Images from Raster images
      Hi ! I am aware of the conventional methods to create vector images from raster images, i.e. drawing the lines individually, then adding...
    4. scrolling images/slider NOT motion images PLEASE REPLY someone
      i want scrolling images...... like scroll bar with text but scroll bar with images...i dont it as in motion pictures....IF no one knows wot i mean...
    5. Best book for creating new images and how to print multiple images
      Hi Cliff, I'm afraid I can't help with part 1 of your question, being relatively new at PE2 myself, but there a those that frequent the group that...
  3. #2

    Default Re: Controlling Images

    Well, I'm no expert by any means, but a simple way to do it would be to place a
    flash on your index page that plays upon loading the page, and simply have 15
    seconds of the same frame, and then when its over, the flash frame would
    dissappear. (without going through the hastle of making a seperate page just
    for the index to have a flash file, and then a second index which is your
    actual home page, you'll probably want to just layer your index page and have
    the flash file play in the front-most layer of the page, and have the condition
    set to close upon finish of playback). Let me know if it works!

    jdsuave2003 Guest

  4. #3

    Default Re: Controlling Images

    Best to use a redirect page, which would be there for a fixed number of seconds
    when the jpeg or image is displayed and then 'bounce' the user to the home page.

    For redirect code, use this, not sure of xhtml as of yet
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Your Page Title</title>
    <meta http-equiv="REFRESH"
    content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
    <BODY>
    Optional page text here.
    </BODY>
    </HTML>

    Code Description:

    <meta HTTP-EQUIV="REFRESH" content="15;
    url=http://www.yourdomain.com/index.html">

    The content ="15; means the browser will wait 15 seconds, change as needed.




    Css Lover 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