Script for permanently hiding a selected DIV?

  crashb648 14:35 PM 22 Nov 11

Hi there!

Does anyone know of a script or a script that can be modified that can hide and then unhide DIV on the users request, which remembers their action throughout all the pages of a website?

For instance, i would like to hide a particular div (which appears on every page on my website) so when the user hides the div, it stays hidden when browsing the different pages.

If you need some claifying on anything, just let me know :)

  • Crashb648
  gimme987 20:55 PM 11 Feb 12

The a tag is styled to look like a button and the onclick event uses our toggleDiv which passes the ‘myContent’ div ID as the argument. The rest of the HTML basically codes for our ‘myContent’ div whose content will be toggled by a click of the a tag.

Facebook business Page


This thread is now locked and can not be replied to.

How to watch Rugby World Cup 2015 online: Watch live, catch up on-demand & stream the 2015 Rugby…

1995-2015: How technology has changed the world in 20 years

See immersive artist and storyteller Chris Milk speak at London VR event

What everyone thinks of the new Steve Jobs movie | 21 Facts about the Steve Jobs film | PLUS:…