On May 5, 8:20 pm, henrik <[email protected]> wrote:
> Hello, a newbie (on jqueryUI) with a question on the resizable.
>
> I can get it to work using the built-in handles, but want to use my
> own icon (a div with a background image).
>
> Quoting the documentation:
>
> "If specified as an object, the following keys are supported: { n, e,
> s, w, ne, se, sw, nw }. The value of any specified should be a jQuery
> selector matching the child element of the resizable to use as that
> handle. If the handle is not a child of the resizable, you can pass in
> the DOMElement or a valid jQuery object directly."
I'll answer this myself. The dom element you want to use as a handle
should have the
css class ui-resizable-handle.
I consider this to be suboptimal. The best solution would be to let
the resizable class itself add the necessary class, if the goal is to
make something easy to use. Alternatively, information about the
necessary classname should be added to the documentation.
If you need help with coding or updating the docs I can volunteer,
just give me the clear signal.
/Henrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---