Thanks for the tip. I had originally posted in the non UI JQuery group
and someone showed me how to constrain the dragging to just the header/
top of a portlet. I then realized I was also calling $
(".column").disableSelection(); so once I removed that I could then
select text with the mouse. (I copied to code from jQuery's site and
didn't see the disableSelection() part. )

http://groups.google.com/group/jquery-en/browse_thread/thread/94e281b18c8c83b7



On May 20, 3:11 pm, "[email protected]"
<[email protected]> wrote:
> 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