Skip to content

Commit 80e59fb

Browse files
committed
add a couple more options to scale functional tests
1 parent caf07a3 commit 80e59fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demos/functional/templates/ui.effects.showhide.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@
111111
'<ul><li style="float: left; width: 144px; height: 108px;"><img class="scalefx" style="width: 144px; height: 108px;" src="templates/images/P1010058.JPG"/></li>\n' +
112112
'<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' +
113113
'<div style="clear: both;"></div>',
114-
destroy: '$("#doPuff").unbind();',
114+
destroy: '$("#doScale").unbind();',
115115

116116
options: [
117-
{ desc: 'Scale defaults', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {}, 2000); });' }
117+
{ desc: 'Scale defaults', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {}, 2000); });' },
118+
{ desc: 'Scale from/to top-left', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {origin:["top","left"]}, 2000); });' },
119+
{ desc: 'Scale from/to bottom-right', source: '$("#doScale").click(function() { $(".scalefx").toggle("scale", {origin:["bottom","right"]}, 2000); });' },
118120
]
119121
},
120122

0 commit comments

Comments
 (0)