summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/dtl/demos/templates/animation.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/dtl/demos/templates/animation.html')
-rw-r--r--js/dojo/dojox/dtl/demos/templates/animation.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/dojo/dojox/dtl/demos/templates/animation.html b/js/dojo/dojox/dtl/demos/templates/animation.html
new file mode 100644
index 0000000..d37908b
--- /dev/null
+++ b/js/dojo/dojox/dtl/demos/templates/animation.html
@@ -0,0 +1,5 @@
+{% load dojox.dtl.contrib.dijit dojox.dtl.contrib.dom %}
+<div>
+ <div style="top: {{ y }}px; left: {{ x }}px; width: 10px; height: 10px; background: red; position: absolute;">&nbsp;</div>
+ <div dojoAttachPoint="blue" style="top: 10px; left: 0; width: 10px; height: 10px; background: blue; position: absolute;">&nbsp;</div>
+</div> \ No newline at end of file