• Features
  • Demo
  • Documentation
  • Download

Features

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

Buy me coffee !

If you like this work and found this useful buy me a coffee ! your donation will motivate me to develop and support this work.

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, 568 hits)