Click to See Complete Forum and Search --> : *+* Web Design Question *+*
girlsontop
02-13-2007, 06:54 AM
Hi all my friends! I'm working on a site idea and I know my question may sound stupid to many of you amazing designers, but I just can't figure-out how to do something! Below, I post a stupid, basic, schematic of the over-all site layout I'm going to design in Adobe Photoshop CS2. You'll see one important area where I state; "Want image to go into this area". http://www.jbradenphotography.com/siteidea.jpg What I really want to figure out how to do is make it so that everytime someone visits my site, the image will change to one of several I have completed. And also even if they were to re-load the page it would be a different image. I would also (if not too hard) maybe want the image to change on it's own after maybe like 1 - 2 minutes on that page. Is something like this possible? I do realize the basics like all the images have to be the identical size and in the same location, etc. I suppose I could make a Basic Flash transistioning show of the pics and then embed the .swf to that area, but not sure I want to do that as some don't or can't view Flash stuff. Also, it wouldn't change each time they re-loaded or came to the site that way. Any of you creative artists know how to do this? A "step-by-step" would be greatly appreciated as I'm an idiot some times!
http://smoothslideshow.jondesign.net/ or http://tinyurl.com/3yra2t
Birdie1483
02-14-2007, 01:49 AM
There are some basic java script codes that you can use to make the image rotate every time someone refreshes the page. I dont know java script very well so I can't give you a very good example, but I'm sure you could find information on it if you search the web. My company uses this in the space that they have the image rotate:
<SCRIPT LANGUAGE="JavaScript">this_banner = randomBanner();</script>
If anyone knows what I'm talking about, please chime in. But my advice would be to search for random java script banners.
MSGQuixo
02-14-2007, 11:19 PM
My company uses this in the space that they have the image rotate:
<SCRIPT LANGUAGE="JavaScript">this_banner = randomBanner();</script>
This script is missing something -- there must be more code somewhere.
There are lots of random image javascripts out there. I don't know the ones EC posted but if those don't work and easy google search will find you more.
This site has lots of good stuff. Though sometimes a little complicated.
http://www.dyn-web.com/javascript/rotate-img/rotate-rand.html
Birdie1483
02-14-2007, 11:22 PM
Yeah... thats why I asked for people to chime in. I was just giving an example for them to have something to start with for their search.
MSGQuixo
02-14-2007, 11:24 PM
Yea, I figured. I just didn't want anyone getting frustrated.
MSGQuixo
02-14-2007, 11:26 PM
Hey, you're right, I searched and found it. Looks good to me.
http://www.galichon.net/javascript.shtml#BannerRoutine