Professional Web Applications Themes

Random Images... - Macromedia Dreamweaver

Does anyone here know how to make Dreamweaver display random images during refresh and reload? I've used Kaosweaver's extension but I'm not completely satisfied with it. I want to do something like the one +http://www.vineyard.ca has. Please if anyone knows how to do this, please let me know. Thanks....

  1. #1

    Default Random Images...

    Does anyone here know how to make Dreamweaver display random images during refresh and reload? I've used Kaosweaver's extension but I'm not completely satisfied with it. I want to do something like the one +http://www.vineyard.ca has. Please if anyone knows how to do this, please let me know. Thanks.


    jonajonajona Guest

  2. #2

    Default Re: Random Images...

    Jona,
    How is that page different? It's displaying random pictures, which is what
    Kaosweaver's extension would do....

    --
    Bill Horvath

    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    No registration req'd for free content
    ---

    "jonajonajona" <com> wrote in message
    news:bh4uui$cbo$macromedia.com... 
    refresh and reload? I've used Kaosweaver's extension but I'm not completely
    satisfied with it. I want to do something like the one
    +http://www.vineyard.ca has. Please if anyone knows how to do this, please
    let me know. Thanks. 


    Bill Guest

  3. #3

    Default Re: Random Images...

    you could store the pictures in a table and then use ORDER BY RAND() to get the records sorted randomly. since you will only be displaying the first image selected you should get a random image.

    look at a page i am working on which sorts all the records randomly, there is a repeat region to display all records which you won't be using.

    http://www.chromeorange.co.uk/Benifits.php

    if you reload it the records are re sorted in a different order.

    SELECT *
    FROM tblbenifits
    ORDER BY rand()

    is the sql code i use

    HTH

    Andy


    LotusAndy Guest

Similar Threads

  1. Extension: Dynamic Images/Advance Random Images
    By Babri1 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 2
    Last Post: August 10th, 08:56 PM
  2. Random Images
    By sokaman webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 10
    Last Post: February 23rd, 12:34 PM
  3. Advanced Random Images
    By SuzyGol in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: February 10th, 04:01 PM
  4. Random Images on Mac?
    By wecklish in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: May 10th, 04:43 AM
  5. Help - Random images
    By Tim Dixon in forum PHP Development
    Replies: 2
    Last Post: January 21st, 04:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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