Forum Moderators: open

Message Too Old, No Replies

Display a hidden div at run time and only when user first visits the p

         

neha11

10:47 am on Mar 17, 2010 (gmt 0)

10+ Year Member



Hi
I need to implement the following functionality on my web page using javascript to which i am completely new.

I have a particular div with a unique id in my page. this div should be visible only when the user visits the page for the first time .So I need to set a cookie that hides div from page if it has already been shown to visitor.

Please suggest sumthing

whoisgregg

4:54 pm on Mar 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, neha11!

All of our members here are quite happy to help debug code, but it's rare for us to have enough time to code something entirely from scratch. We're all volunteers here helping each other to become better with JavaScript. If you could post your best attempt so far to code this functionality, I'm sure you'll get helpful replies. :)