From beba805557b9b1d17b210ed039eb2271db5d5262 Mon Sep 17 00:00:00 2001 From: Wes Date: Fri, 2 Dec 2011 14:22:14 +0000 Subject: [PATCH] panel that shows underlying html list now updates when node elements are rearranged --- example/example.html | 89 ++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 56 deletions(-) diff --git a/example/example.html b/example/example.html index 08404f3..05d5993 100644 --- a/example/example.html +++ b/example/example.html @@ -20,21 +20,6 @@ chartElement : '#chart', dragAndDrop : true }); - - /* Extra Code */ - $("#show-list").click(function(e){ - e.preventDefault(); - - $('#list-html').toggle('fast', function(){ - if($(this).is(':visible')){ - $('#show-list').text('Hide underlying list.'); - $(".topbar").fadeTo('fast',0.9); - }else{ - $('#show-list').text('Show underlying list.'); - $(".topbar").fadeTo('fast',1); - } - }); - }); }); @@ -52,46 +37,7 @@
Show underlying list.
- +
@@ -139,5 +85,36 @@
+ + - \ No newline at end of file + + \ No newline at end of file