HighDots Forums  

Random Images...

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Random Images... in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jonajonajona webforumsuser@macromedia.com
 
Posts: n/a

Default Random Images... - 08-10-2003 , 04:15 AM






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.



Reply With Quote
  #2  
Old   
Bill .:CMX:.
 
Posts: n/a

Default Re: Random Images... - 08-10-2003 , 05:36 AM






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" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
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.
Quote:




Reply With Quote
  #3  
Old   
LotusAndy webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Random Images... - 08-10-2003 , 05:42 AM



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



Reply With Quote
  #4  
Old   
mick_white
 
Posts: n/a

Default Re: Random Images... - 08-10-2003 , 10:08 AM



http://www.mickweb.com/javascript/banner/simplerotate.html
Mick

"\"jonajonajona\" webforumsuser"@macromedia.com wrote:

Quote:
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.


Reply With Quote
  #5  
Old   
jonajonajona webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Random Images... - 08-10-2003 , 11:36 AM



thanks guys.. i really appreciate all the help



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.