|
Doug
|
posted on 20th Mar 06 at 20:43 |
Managed to get it sorted using a cookie to store the choice :D
|
James
|
posted on 20th Mar 06 at 15:57 |
javascript :thumbs:
Do a google for dynamically changing style sheets
[Edited on 20-03-2006 by James]
|
Doug
|
posted on 20th Mar 06 at 15:33 |
Hi,
Im trying to create a page that has a drop down menu where the user can select what style sheet they want to use....
Now I can cant the style sheet to change when its selected.
Here is the code im using:
<div style="text-align: center">
<p>
This section of the website allows you to change the colour scheme of the website. Please select which colour scheme you prefer.
Please note that your choice will be stored as a cookie on your computer so the site will remember your choice for future visits
</p>
<form name="csschoice">
<div align="center">
<select name="mydropdown">
<option value="kk.css">Style 1</option>
<option value="kk2.css">Style 2</option>
</select>
<input type="button" Value= "change style">
</div>
</form>
So what do I need to do?!
Also how would I store the users choice as a cooie on their computer?
Many many many thanks in advance for anyone who can help me here!
|