473,385 Members | 1,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how do i get a cookie to remember what css you choose

Does anyone know the code to have multiple css sheets on one website? Could you give me the exact code for xhtml to make it work. I have a drop down list with the options of different style sheets available, and the different style sheets written. I just need to know how to make it so that when you choose an option from the dropdown menu it changes the style sheet. Also if you know how to write a cookie to remember what style sheet the user chose that would be great. Thanks
Apr 3 '08 #1
3 1139
acoder
16,027 Expert Mod 8TB
See this earlier thread to get you started.
Apr 3 '08 #2
thanks for the help much apperiated
Apr 3 '08 #3
acoder
16,027 Expert Mod 8TB
No problem, you're welcome. Let me know if you have any problems implementing it.
Apr 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Sims | last post by:
Hi, I am using setcookies to store one single value. But i was reading http://za2.php.net/manual/en/function.setcookie.php and i noticed that a cookie might not be accepted yet it might return...
6
by: Patrick Zittle | last post by:
Does anyone know the code for the cookie monster app? It is a little app that when you start it up it says "I want a cookie" and if you answer anything but "cookie" it asks you agian. If you...
7
by: What-a-Tool | last post by:
How does the expire date work setting it server side with asp. I know with javascript setting it client side it will be set to the clients local time, and therefore expire when the clients local...
4
by: socialism001 | last post by:
I'm trying to store a value in a cookie but its not working. Can anyone see what I might be doing wrong. Thanks, Chris ~~~~~~~~~~~~~~~~~~ <script language="javascript">...
0
by: D. Shane Fowlkes | last post by:
I have a form with a CheckBoxList which is created from a SQLDataReader. It contains Staff personnel and I use the ID and LogOnName (a string) to build the CBL. All works fine. I also have a...
2
by: news.microsoft.com | last post by:
I have an extremely odd cookie problem and had many programmers in the group looked at it but still with no solution. The following is the synptom: I have a user control ( for inputting user...
4
by: craigkenisston | last post by:
I have an asp.net application in which I sometimes store a persistent cookie once the user has logged in and this has been working great. However, I now add some user information like, username,...
5
by: James | last post by:
hi, I'm trying to remember a user who has visited the page. what i found out was to use persistent cookie, is there any other way that i can remember the user next time he visit? When using...
1
by: trint | last post by:
Hi, I need to have a "remember my login" cookie if someone checks the checkbox. The checkbox's text is "Remember Me on this Computer" The login users name is their email (like): users name: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.