Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11550, comment 7


Ignore:
Timestamp:
Mar 22, 2017, 11:03:02 PM (7 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11550, comment 7

    initial v1  
    88The macro would add the class "foldable" to the target, and add "collapsed" to the parent if it starts folded and "snapping" to the parent if it is to snap.  Then the javascript could "simply" do:
    99
    10 {{{
     10{{{#!js
    1111jQuery(document).ready({
    1212  jQuery('.foldable').unbind('click').click(function(eventObject) {