From 2b4089d6d63f1f7278bbd76c856b4e503e854ea5 Mon Sep 17 00:00:00 2001 From: Lee Boynton Date: Thu, 15 Nov 2012 14:03:41 +0000 Subject: [PATCH] Update entries/position.xml Using function should forward first parameter to css(), not position(). --- entries/position.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/position.xml b/entries/position.xml index f6bd9db6..90a9244f 100644 --- a/entries/position.xml +++ b/entries/position.xml @@ -40,7 +40,7 @@ - When specified, the actual property setting is delegated to this callback. Receives two parameters: The first is a hash of top and left values for the position that should be set and can be forwarded to .position() or .animate(). + When specified, the actual property setting is delegated to this callback. Receives two parameters: The first is a hash of top and left values for the position that should be set and can be forwarded to .css() or .animate().

The second provides feedback about the position and dimensions of both elements, as well as calculations to their relative position. Both target and element have these properties: element, left, top, width, height. In addition, there's horizontal, vertical and important, giving you twelve potential directions like { horizontal: "center", vertical: "left", important: "horizontal" }.