P
picayunish
G'dag,
I'm trying to activate an alternative style sheet by clicking on a
hyperlink.
The problem what I have is when clicking on the link, the page jumps to the
right chapter but it wouldn't activate the alternative style sheet.
The code is:
<head>
<link rel="stylesheet" type="text/css" title="basic page style"
href="style.css">
<?php
if ($style="vert1") {echo '<link rel="stylesheet" type="text/css"
title="vertical" href="vert.css">' ."\n";}
?>
</head>
<body>
<a <?php $style="vert1"; ?> href="#vert1">jgjglkgfd dkgjlkd</a>
some content
<h2><a name="vert1"></a>blah</h2>
more content
</body>
This is the experimental site:
http://www.semi-conductor.nl/test/
What am I doing wrong?
I'm trying to activate an alternative style sheet by clicking on a
hyperlink.
The problem what I have is when clicking on the link, the page jumps to the
right chapter but it wouldn't activate the alternative style sheet.
The code is:
<head>
<link rel="stylesheet" type="text/css" title="basic page style"
href="style.css">
<?php
if ($style="vert1") {echo '<link rel="stylesheet" type="text/css"
title="vertical" href="vert.css">' ."\n";}
?>
</head>
<body>
<a <?php $style="vert1"; ?> href="#vert1">jgjglkgfd dkgjlkd</a>
some content
<h2><a name="vert1"></a>blah</h2>
more content
</body>
This is the experimental site:
http://www.semi-conductor.nl/test/
What am I doing wrong?