Quote:
Originally Posted by LadynRed
You'll need at least javascript to do that.
|
Yes, though I would personally recommend PHP, since it is a server-side script. You would want to use something like...
Page1.html
HTML Code:
<form method="post" action="Page2.php">
<input type="submit" name="CSS1" value="CSS 1">
<input type="submit" name="CSS2" value="CSS 2">
<input type="submit" name="CSS3" value="CSS 3">
</form>
Page2.php
PHP Code:
<?php if($_POST['CSS1']) { echo '<link rel="stylesheet" type="text/css" href="CSS1.css" />CSS1'; } if($_POST['CSS2']) { echo '<link rel="stylesheet" type="text/css" href="CSS2.css" />CSS2'; } if($_POST['CSS3']) { echo '<link rel="stylesheet" type="text/css" href="CSS3.css" />CSS3'; } ?>
- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
|