aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Eisenberger <aaronchi@gmail.com>2008-06-26 16:14:51 +0000
committerAaron Eisenberger <aaronchi@gmail.com>2008-06-26 16:14:51 +0000
commit80e59fb0b21ad4407e81f7e927be1e641dbdee06 (patch)
tree9245fe415a778f4d4d2ba327568643b05c06a20d
parentcaf07a3e48024a7fcceabe762826f4f291fa9d5b (diff)
downloadjquery-ui-80e59fb0b21ad4407e81f7e927be1e641dbdee06.tar.gz
jquery-ui-80e59fb0b21ad4407e81f7e927be1e641dbdee06.zip
add a couple more options to scale functional tests
-rw-r--r--demos/functional/templates/ui.effects.showhide.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/functional/templates/ui.effects.showhide.html b/demos/functional/templates/ui.effects.showhide.html
index 70e41b0cb..a4dde6553 100644
--- a/demos/functional/templates/ui.effects.showhide.html
+++ b/demos/functional/templates/ui.effects.showhide.html
@@ -111,10 +111,12 @@
'<ul><li style="float: left; width: 144px; height: 108px;"><img class="scalefx" style="width: 144px; height: 108px;" src="templates/images/P1010058.JPG"/></li>\n' +
'<li style="float: left; width: 144px; height: 108px; margin-left: 20px;"><div class="scalefx" style="width: 144px; height: 108px; background-color: #F2F2F2;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ...</div></li></ul>\n' +
'<div style="clear: both;"></div>',
- destroy: '$("#doPuff").unbind();',
+ destroy: '$("#doScale").unbind();',
options: [
- { desc: 'Scale defaults', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {}, 2000); });' }
+ { desc: 'Scale defaults', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {}, 2000); });' },
+ { desc: 'Scale from/to top-left', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {origin:["top","left"]}, 2000); });' },
+ { desc: 'Scale from/to bottom-right', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {origin:["bottom","right"]}, 2000); });' },
]
},