Changes between Initial Version and Version 1 of Ticket #11550, comment 7
- Timestamp:
- Mar 22, 2017, 11:03:02 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11550, comment 7
initial v1 8 8 The 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: 9 9 10 {{{ 10 {{{#!js 11 11 jQuery(document).ready({ 12 12 jQuery('.foldable').unbind('click').click(function(eventObject) {