Forum Moderators: open

Message Too Old, No Replies

Confirmation slider box with cookies

         

danielro

1:38 pm on Apr 8, 2009 (gmt 0)

10+ Year Member



Hello everyone,

I have spent the past two days trying to find a javascript script for my following project.

I need to create a small container, including a Question and Yes or No answers (something like: Do you want to participate in some survey?)

This container needs to slide from the top of the website and stop. Then, if the users clicks NO, a cookie should be set, as the next time he visits the website the container should not appear. This must not be a pop-up, just a regular DIV sliding from the top of the page.

If he clicks Yes, then I redirect him to the survey page and set a cookie there.

I am sure someone already built this and published it, but I do not seem to find it. Furthermore, I am programing PHP and I have literally LOW to NO experience with JavaScript...

Thank you for reading this guys!

danielro

10:23 am on Apr 9, 2009 (gmt 0)

10+ Year Member



I think what I am searching for is what SitePoint already has on their book pages.
That Catfish script that slides from the bottom, but it says nothing about cookies or anything like that...