This is a discussion on "Logo changes on refresh" within the Web Page Design section. This forum, and the thread "Logo changes on refresh are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Logo changes on refresh
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Logo changes on refresh
Hi,
I was just wondering, is it possible to make an image change on a site on refreshing the page??? If so, how would I go about doing this??? Thanks in advance, Ross
Last Blog Entry: Blog Noughts and Crosses (Nov 14th, 2007)
|
|
|
|
#2
|
|||
|
|||
|
Re: Logo changes on refresh
You could use php to generate a random number everytime the page was loaded, and select the picture depending on what number was thrown up.
Might not be the best way though |
|
#3
|
||||
|
||||
|
Re: Logo changes on refresh
Sounds like a good way to me.
|
|
#4
|
|||
|
|||
|
Re: Logo changes on refresh
Yeah, that sounds like a good way to accomplish it to me as well.
|
|
#5
|
||||
|
||||
|
Re: Logo changes on refresh
If you had four logos you wanted to switch between, this code could work for that:
|
|
#6
|
|||
|
|||
|
Re: Logo changes on refresh
Thanks ryan, i was just about to go and figure that out myself lol
|
|
#7
|
|||
|
|||
|
Re: Logo changes on refresh
I shall save that in my little archive of secrets
|
|
#8
|
|||
|
|||
|
Re: Logo changes on refresh
hehehe...lol
|
|
#9
|
||||
|
||||
|
Re: Logo changes on refresh
Haha
|
|
#10
|
|||
|
|||
|
Re: Logo changes on refresh
Cheers for that Ryan, it's appreciated.
Thanks also to everyone else.
Last Blog Entry: Blog Noughts and Crosses (Nov 14th, 2007)
|
|
#11
|
||||
|
||||
|
Re: Logo changes on refresh
No problem
|
![]() |
| Tags |
| logo, refresh |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to stop the browser refresh on clicking the webbrowser's refresh button ? | camarun20 | JavaScript Forum | 3 | Mar 19th, 2008 00:04 |
| When Refresh go 1 again | gncreditcards | Web Page Design | 2 | Jan 30th, 2008 19:24 |
| refresh using javascript | SirChinjin | JavaScript Forum | 0 | May 19th, 2007 19:41 |
| Meta refresh | WebNinja | Web Page Design | 2 | Nov 22nd, 2006 10:49 |
| How does a page refresh? | flox74 | Web Page Design | 8 | May 8th, 2006 19:41 |