aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-03-22 12:25:25 -0400
committerScott González <scott.gonzalez@gmail.com>2011-03-22 12:25:25 -0400
commit6f051d5d6a8eaf6fcc2a08ff68dbf5378029abc2 (patch)
treede1f0fd9b2cc00769c4117f58198a6c2784262d2 /demos
parentd4dadd14c293dfcbb4a7a214430ec511fea7a1da (diff)
downloadjquery-ui-6f051d5d6a8eaf6fcc2a08ff68dbf5378029abc2.tar.gz
jquery-ui-6f051d5d6a8eaf6fcc2a08ff68dbf5378029abc2.zip
Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets.
Diffstat (limited to 'demos')
-rw-r--r--demos/position/cycler.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/position/cycler.html b/demos/position/cycler.html
index b52e22724..521b8d565 100644
--- a/demos/position/cycler.html
+++ b/demos/position/cycler.html
@@ -33,16 +33,14 @@
$.fn.left = function( using ) {
return this.position2({
my: "right middle",
- at: "left middle",
- offset: "25 0",
+ at: "left+25 middle",
using: using
});
}
$.fn.right = function( using ) {
return this.position2({
my: "left middle",
- at: "right middle",
- offset: "-25 0",
+ at: "right-25 middle",
using: using
});
}