diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-03-22 12:25:25 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-22 12:25:25 -0400 |
commit | 6f051d5d6a8eaf6fcc2a08ff68dbf5378029abc2 (patch) | |
tree | de1f0fd9b2cc00769c4117f58198a6c2784262d2 /demos | |
parent | d4dadd14c293dfcbb4a7a214430ec511fea7a1da (diff) | |
download | jquery-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.html | 6 |
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 }); } |