![]() Preserved Topic: browser brain*?* (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Europe |
![]() 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 |
![]() 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 |
![]() |
Bipolar (III) Inmate From: Europe |
![]() ok, guys, I'll put that cookie in here. But later, HAve school right now! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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: |
![]() 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 |
![]() 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 |
![]() 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 |
![]() I still didn't find my cookie but I didn't want to stand in here as a square. |
Bipolar (III) Inmate From: Europe |
![]() 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) |