Skip to content

Switch CSS update

October 31, 2006

<!– Javascripts цэснээс styleswitch.js – ийг халгалж авна уу. –>
<script src=”styleswitch.js” type=”text/javascript”></script>
Бүрэн эхээр нь харуулав.
<html>
<head>
<link rel=”stylesheet” type=”text/css” href=”default.css” />
<link rel=”alternate stylesheet” type=”text/css” media=”screen” title=”blue-theme” href=”user.css” />
<link rel=”alternate stylesheet” type=”text/css” media=”screen” title=”brown-theme” href=”user2.css” />

<script src=”styleswitch.js” type=”text/javascript”></script>
</head>
<body>
<form id=”switchform”>
<input type=”radio” name=”choice” value=”none” onClick=”chooseStyle(this.value, 60)”>Default style<br />
<input type=”radio” name=”choice” value=”blue-theme” onClick=”chooseStyle(this.value, 60)”>Blue Theme<br />
<input type=”radio” name=”choice” value=”brown-theme” onClick=”chooseStyle(this.value, 60)”>Brown Theme
</form>
// Rest of body here
</body>
</html>

No comments yet

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

%d bloggers like this: