This is a discussion on "Changing css with page refresh" within the Web Page Design section. This forum, and the thread "Changing css with page refresh are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Changing css with page refresh
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Changing css with page refresh
I am a web designer and had a peculiar client. He wants the web page
to change its look as soon as the page is refreshed. i.e., the css file should change on refreshing the page. Can anyone send me the code for this? Plz send it as soon as possible friends. |
|
|
|
#2
|
|||
|
|||
|
Re: Changing css with page refresh
Curious idea??? I take it you mean if someone refreshes the page in their browser? And do you mean each time or just the first time they do it? |
|
#3
|
|||
|
|||
|
Re: Changing css with page refresh
There are many options for changing style sheets, the best solution I would think is to use a server side language such as PHP to dynamically load css files stored in a folder the same way you would do an image rotator. This one could be modified for that purpose I think:
http://automaticlabs.com/products/rotator
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#4
|
||||
|
||||
|
Re: Changing css with page refresh
Are you talking about loading a random Style to the page each time it is loaded? The only problem I can see with that is if it changes as you navigate around the site then users may get confused... Especially if the position of things changes from style to style...
Last Blog Entry: Giving them what they paid for: A (sort of) Follow-up (Oct 15th, 2008)
|
![]() |
| Tags |
| changing, css, page, refresh |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pull Variables into a form without page refresh | Andy K | Classic ASP | 3 | Apr 11th, 2008 17:29 |
| How to stop the browser refresh on clicking the webbrowser's refresh button ? | camarun20 | JavaScript Forum | 3 | Mar 19th, 2008 01:04 |
| Code for button to refresh page after inserting data in sql db | wacara | JavaScript Forum | 0 | Apr 27th, 2007 03:45 |
| PHP sessions/ page refresh??? | ktsirig | PHP Forum | 3 | May 31st, 2006 14:07 |
| How does a page refresh? | flox74 | Web Page Design | 8 | May 8th, 2006 20:41 |