you can use the cancel: option and put your text in the item you want
to cancel

cancel: 'span',

You can then highlight the text inside the span that's inside the
sortable without triggering
the sortable behavior.

On May 20, 9:55 am, slenzi <[email protected]> wrote:
> I'm using JQuery Portlets and I've noticed that you can't use the
> mouse to highlight any text within a portlet. In their own example on
> their site you can see what I'm talking 
> about,http://jqueryui.com/demos/sortable/#portlets.
>
> I've figured out a way to use the Portlet 'Handle' option to set it up
> so that dragging only happens by clicking and dragging from the header
> of the Portlet, but the body of each portlet is still disabled and
> text selection with the mouse still doesn't 
> work,http://jqueryui.com/demos/sortable/#option-handle
>
> I've found that there is an undocumented core utility function called $
> ("#id").enableSelection() and I've tried to use that to enable mouse
> interaction with the portlet content but so far no luck.
>
> Anyone else figure out a way around this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to