AW Javascript toggler with cookie is a simple and light weight, javascript which toggles the visibility of elements with cookie. So they remain visible or hidden by cookie on the return visit.

Download

  • Features
  • Demo
  • Documentation
  • Download

Features

  • Light weight (only kb).
  • Cross browser support.
  • Can include any no of toggling items.
  • Enabled with cookie.

Donate and Support with PayPal

If you find my products useful, then just donate and support my work. It will be an encouragement !

$

Usage

  • Include the javascript
    <code>&lt;script type=&quot;text/javascript&quot; src=&quot;Path to awJavascriptToggler.js&quot;&gt;&lt;/script&gt;</code>
  • Call the toggleToggle('ID of the element to be hidden') function by a button.
  • Call the function toggleInitiliaze('ID of the element to be hidden') externally by using the code
    <code>&lt;script type=&quot;text/javascript&quot;&gt;toggleInitialize('ID of the element 1 to be hidden'); toggleInitialize('ID of the element 2 to be hidden'); toggleInitialize('ID of the element 3 to be hidden'); // and etc&lt;/script&gt;</code>
  • That’s all

Demo

Toggle |

Some content

Download

Click the link below to download AW Javascript toggler

Download
(AW Javascript toggler, 2.8 KiB, 218 hits)