Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

multiple style sheets

0 views
Skip to first unread message

O.G.

unread,
Jun 25, 2002, 10:37:11 AM6/25/02
to
Hi! Uh I would just like to know how I can make it so that a user on
my webpage can choose between different style sheets...like, if I made
more than one with different colors and stuffs, how I could make it so
that a visitor can select a different one depending on their
tastes...thanks!

CJM

unread,
Jul 17, 2002, 9:57:27 AM7/17/02
to
I'm afraid the only way I know of is via the likes ASP etc....

CJM

"O.G." <meows...@hotmail.com> wrote in message
news:485d096d.02062...@posting.google.com...

Rowland Shaw

unread,
Jul 17, 2002, 10:07:40 AM7/17/02
to
To the best of my knowledge, very few user agents support alternative style
sheets. One that does is Mozilla. IE does not.


"CJM" <cjm...@yahoo.co.uk> wrote...


> I'm afraid the only way I know of is via the likes ASP etc....
>
>

> "O.G." <meows...@hotmail.com> wrote...

Marc XrV

unread,
Jul 18, 2002, 5:43:56 AM7/18/02
to
php example.
only change the xtension of the document to php...

</HTML>
<head><title>XrV it's me</title>

<?

if(!$nsui){
$nsui = '001';
}

echo '<link rel="stylesheet" href="'. $nsui .'.css" type="text/css">';

?>

</head><body>

<a href='<? echo $PHP_SELF ?>?nsui=002'>style 2</a>
<a href='<? echo $PHP_SELF ?>?nsui=003'>style 3</a>
<a href='<? echo $PHP_SELF ?>?nsui=004'>style 4</a>

</body>
</HTML>


if u need only JS use frames to store the variables.


Cybarber

unread,
Jul 19, 2002, 6:42:22 PM7/19/02
to
it is very easy by setting the property disabled to true and false on styles sheet 1,2,3,4,5.... for an external style sheet you can change the href.
 
Cybarber
0 new messages