Changing css with page refresh

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 24th, 2006, 05:14
New Member
Join Date: Jul 2006
Location: India
Age: 22
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 24th, 2006, 14:28
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 24th, 2006, 14:45
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 26th, 2006, 09:20
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,361
Blog Entries: 3
Thanks: 0
Thanked 1 Time in 1 Post
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
changing, css, page, refresh

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 01:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved