corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML Help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author HTML Help
Doug
Member

Registered: 8th Oct 03
User status: Offline
   20th Mar 06 at 15:33   View User's Profile U2U Member Reply With Quote

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!
James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
20th Mar 06 at 15:57   View User's Profile U2U Member Reply With Quote

javascript

Do a google for dynamically changing style sheets

[Edited on 20-03-2006 by James]
Doug
Member

Registered: 8th Oct 03
User status: Offline
20th Mar 06 at 20:43   View User's Profile U2U Member Reply With Quote

Managed to get it sorted using a cookie to store the choice

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Some website help please? madboutcars Geek Day 29 2620
11th May 03 at 17:11
by madboutcars
 
SHELL OPTIMAX????? big eck General Chat 69 3682
14th May 06 at 23:43
by SVM 286
 
New Wheels....is the speedo ok? richardostreet Help Zone, Modification and ICE Advice 4 828
9th Aug 03 at 08:30
by diddon
 
wheel question... andy_s_1 Help Zone, Modification and ICE Advice 16 1203
9th Feb 05 at 17:32
by smacke
 
Best Oil t_benn_1 Help Zone, Modification and ICE Advice 5 512
27th Apr 05 at 09:47
by Edd_20
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML Help 29 database queries in 0.0089600 seconds