<HEAD>
<TITLE>Customise page</TITLE>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="library.js"></SCRIPT>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript1.2"><!--
if (document.styleSheets || document.layers) {
document.write('<P>Please browse available styles using
the box below, and confirm your choice by pressing the
OK button.');
document.write('<FORM>');
document.write('<SELECT NAME="style" onChange=
"changeSheet(this.selectedIndex)">');
document.write('<OPTION>Style 1<\/OPTION>');
document.write('<OPTION>Style 2<\/OPTION>');
document.write('<OPTION>Style 3<\/OPTION>');
document.write('<\/SELECT>');
document.write('<INPUT TYPE="BUTTON" VALUE="OK" onClick=
"Set_Cookie(\'stylesheet\',mySheet,expires)">');
document.write('<\/FORM>');
if (document.styleSheets) {
document.write('<H1>Headings will appear like this.<\/H1>');
document.write('<P><A HREF="javascript:alert(\'just testing\')
">Links will appear like this.<\/A>');
document.write('<P><CODE>Any quoted code will appear like this.
<\/CODE><BR>');
}
else if (document.layers) {
document.write('<LAYER SRC="style1.htm" NAME="style1"
VISIBILITY="show"><\/LAYER>');
document.write('<LAYER SRC="style2.htm" NAME="style2"
VISIBILITY="hide"><\/LAYER>');
document.write('<ILAYER SRC="style3.htm" NAME="style3"
VISIBILITY="hide"><\/ILAYER>');
}
checkStyle();
}
//--></SCRIPT>
<P>Once you've stored a cookie try out the style sheet on the
<A HREF="test.htm">next page</A>.
<P><A HREF="index.htm">return</A>
</BODY>
</HTML>
|