I’ve seen this similar code on two sites now used in correlation with jquery slider
function reCenterButton() {
$(".button").position({
"my": "center center",
"at": "center center",
"of": $("#button-box")
});
};
can someone tell me what the name/value pairs mean in the position function object
seen it here http://jsfiddle.net/william/RSkpH/1/
and here http://css-tricks.com/examples/ButtonMaker/
I can’t seem to find it when i look up documentation for the position() is it part of slider function?
This is new in jQuery UI 1.8. You can use it for fast positioning.
More Information