HTML Code, Random display |
HTML Code, Random display |
Draygonia |
Feb 11 2007, 06:00 PM
Post
#1
|
Novice Group: Members Posts: 24 Joined: 8-February 07 Member No.: 1,822 |
I have to code something into my topsite that requires it to display a random image out of a set of images. I remember seeing a random banner code somewhere, but forgot it and I think it was in javascript. Also, the image would be centered in a slice (Photoshop slice) of the page. How would I center it in that slice and be able to put some text below it automatically with the random code...
For example: <Centered>IMAGE<Centered> ----------SKIP LINE--------------- <Centered>TEXT<Centered> The hardest part is centering it within the slice and not the whole page. |
pandy |
Feb 11 2007, 06:54 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
http://google.com/search?q=javascript+random+image
Centering, or whatever, has nothing to do with the script, or shouldn't have anyway. That bit is still HTML and CSS. |
Draygonia |
Feb 11 2007, 07:32 PM
Post
#3
|
Novice Group: Members Posts: 24 Joined: 8-February 07 Member No.: 1,822 |
Thanks! I will see if this works
|
Lo-Fi Version | Time is now: 19th April 2024 - 01:31 AM |