hyperlink - jQuery Collapsible Plugin: How to toggle Open all/Close all -


Instead of two links "open all" and "close all" Wish toggle

comes with jquery.collapsible.js API toggle Method:

The available methods are available from these plug-ins:

  • CSS-close-class is specified when closed
  • Toggle - Toggle Connectable State
  • Open - Opening An Open
  • Close - Collapse one

    - "Plugin methods" -

    - Demo Copying the style found on the page: Function Toggle () {$ ('.page_collapsible') Open ('toggle'); } $ ('# Toggle'). Click (function (event) {event.preventDefault (); toggle ();});

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -