SunQuest
           CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 28th, 2003, 01:58 PM
terminal's Avatar
terminal terminal is offline
nx
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: USA
Posts: 626 terminal Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 28 m 37 sec
Reputation Power: 0
Send a message via AIM to terminal
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

Reply With Quote
  #2  
Old September 28th, 2003, 02:45 PM
LavaCube LavaCube is offline
Just a kid
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Canada
Posts: 105 LavaCube User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 19 sec
Reputation Power: 6
http://php.net/cookies

have a look there.
__________________
[ 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

Reply With Quote
  #3  
Old September 28th, 2003, 03:35 PM
terminal's Avatar
terminal terminal is offline
nx
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: USA
Posts: 626 terminal Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 28 m 37 sec
Reputation Power: 0
Send a message via AIM to terminal
but how do i implement my javascript return values into the cookie?

Reply With Quote
  #4  
Old September 28th, 2003, 06:32 PM
LavaCube LavaCube is offline
Just a kid
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Canada
Posts: 105 LavaCube User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 19 sec
Reputation Power: 6
Go post in the JavaScript section then.

Reply With Quote
  #5  
Old September 28th, 2003, 09:37 PM
terminal's Avatar
terminal terminal is offline
nx
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: USA
Posts: 626 terminal Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 28 m 37 sec
Reputation Power: 0
Send a message via AIM to terminal
ok....but the thing is, i want to use php to do so...

Reply With Quote
  #6  
Old September 29th, 2003, 08:08 AM
LavaCube LavaCube is offline
Just a kid
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Canada
Posts: 105 LavaCube User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 19 sec
Reputation Power: 6
http://php.net/cookies

have a look there, again.

Reply With Quote
  #7  
Old September 30th, 2003, 10:17 PM
terminal's Avatar
terminal terminal is offline
nx
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: USA
Posts: 626 terminal Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 28 m 37 sec
Reputation Power: 0
Send a message via AIM to terminal
okok.....

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > sessions and css


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway