Created
October 17, 2010 08:18
-
-
Save bebraw/630656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Sortable('layers'); | |
// XXX: this won't get triggered because parent is Sortable! | |
$('toggleVisibility').on('click', function() { | |
// set layer hidden now | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="layers"> | |
<li><div class="toggleVisibility">Visibility toggle</div><div class="layerName">Layer name</div></li> | |
<li><div class="toggleVisibility">Visibility toggle</div><div class="layerName">Layer name</div></li> | |
<li><div class="toggleVisibility">Visibility toggle</div><div class="layerName">Layer name</div></li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment