Preserved Topic: browser brain*?* (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Europe |
posted 04-23-2001 23:02
My index page has an intro which looks loke a slide. Unfortunatly, I want the intro only when the user gets on it the first time. Until now, I had to upload a second index page and refer to that one. This is a lot of upgrading work and I wonder if there could be some kind of a memory way so that the intro-function gets blocked when it is loaded the second time. Cookies? php? I tried the cookies but it didn't work and I couldn;t do anything on php. :-\ |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-23-2001 23:36
I'd do it with cookies, but you said you tried it and it didn't work. Could you give us a link to the page so we can see what may not be working? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-24-2001 06:57 |
Bipolar (III) Inmate From: Europe |
posted 04-24-2001 23:48
ok, guys, I'll put that cookie in here. But later, HAve school right now! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-25-2001 02:10
Well, as you seem somewhat familiar with JavaScript, I'll give you a quick little tutorial... code: function setCookie(name, value, expires)
code: function getCookie(name)
|
Bipolar (III) Inmate From: |
posted 04-25-2001 04:12
Before I read this post I had absolutely no interest in cookies...I never had any reason to use them. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-25-2001 07:13
JavaScript library for cookie manipulating can be found here: http://www.claws-and-paws.com/software/nibbler/index.shtml |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-25-2001 15:33
Heh, I was thinking as I wrote that that it would make a good tutorial. Maybe I'll write that... |
Bipolar (III) Inmate From: Europe |
posted 04-26-2001 01:51
I still didn't find my cookie but I didn't want to stand in here as a square. |
Bipolar (III) Inmate From: Europe |
posted 04-26-2001 01:57
I found the page from where I got my old cookie from: That is it, I want to recommend it since it distinguishs between browsers AND platforms. (Unfortunaly not uptodate since "WIN2000" and "WinME" are missing) |