From 80e59fb0b21ad4407e81f7e927be1e641dbdee06 Mon Sep 17 00:00:00 2001 From: Aaron Eisenberger Date: Thu, 26 Jun 2008 16:14:51 +0000 Subject: [PATCH] add a couple more options to scale functional tests --- demos/functional/templates/ui.effects.showhide.html | 6 ++++-- 1 file 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 @@ '\n' + '
', - 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); });' }, ] }, -- 2.39.5