DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Graphics and Multimedia (http://www.daniweb.com/forums/forum28.html)
-   -   Dreamweaver background image refresh (http://www.daniweb.com/forums/thread47567.html)

looberz Jun 11th, 2006 5:13 pm
Dreamweaver background image refresh
 
Hi!
I am creating my site in Dreamweaver and want the background image to refresh and be different each time the user enters it does anyone know how to program this or know of any good tutorials?
Also I want to have a flash animation that is different depending on what time of day it is. For example, if its before midday the animation wil say 'good morning'.

Thanks for any help!
Louise

peter_budo Jun 11th, 2006 6:51 pm
Re: Dreamweaver background image refresh
 
In JavaScript, images in array and random number generator. Generate number between zero and maximum size of array. Then call position and ask the image to be displayed.

Flash, again JavaScript to get time of server or user pc, but would prefer user time. Then check time intervals to display appropriate animation.


All times are GMT -4. The time now is 2:29 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC