AW Javascript toggler ← Javascripts

- 681 views -

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,http://www.aakashweb.com/download/aw-javascript-toggler.zip

  • Features
  • Demo
  • Documentation
  • Download

Features

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

Donate and show your love

If you find this project useful, please consider a donation. It gives me encouragement and support !

Usage

  • Include the javascript
    <script type="text/javascript" src="Path to awJavascriptToggler.js"></script>
  • 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
    <script type="text/javascript">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</script>
  • That’s all

Demo

Toggle |

Some content

Download

Click the link below to download AW Javascript toggler

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