|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
sessions and css
i have a selection list where you can select from 4 different styles to display the page in. the script is run by javascript whereas when you select the style you want, it loads the associated .css file replacing the <link> tag's href with the new one. how can i use sessions(or cookies) to make it so when they leave and revisit my site, their preferences are saved and load automatically?
thanx alot |
|
#2
|
|||
|
|||
|
__________________
[ lavacube ] My Personal Site[greyDistortion] PHP version: 4.3.8 MySQL version: 4.0.21 Operating System (OS): SuSE Linux 9.1 Apache version: 2.0.50 |
|
#3
|
||||
|
||||
|
but how do i implement my javascript return values into the cookie?
|
|
#4
|
|||
|
|||
|
Go post in the JavaScript section then.
|
|
#5
|
||||
|
||||
|
ok....but the thing is, i want to use php to do so...
|
|
#6
|
|||
|
|||
|
|
|
#7
|
||||
|
||||
|
okok.....
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > sessions and css |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|