Css Switcher

November 5, 2007 at 9:58 am Leave a comment

<html><head><title>Cool and Refreshing</title>
<script>
MaxStyleNum = 3;
StyleNum = parseInt(document.cookie.charAt(6)) % MaxStyleNum + 1;
if (isNaN(StyleNum)) StyleNum = 1;
document.cookie=’style=’ + StyleNum;
StyleFile = “style” + StyleNum + “.css”;
document.writeln(‘<link rel=”stylesheet” type=”text/css” href=”‘ + StyleFile + ‘”>’);
</script>
</head><body>
<h2>Live in Style</h2>
</body></html>

Entry filed under: css. Tags: .

Css Switcher sachin tendulkar the little genius

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Flickr Photos

The firsts lights

Lago di Braies

Survivor Mode

More Photos

Blog Stats

  • 705,777 hits

%d bloggers like this: