Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-25-2011, 01:58 PM   PM User | #1
gareth_davies
New to the CF scene

 
Join Date: Apr 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
gareth_davies is an unknown quantity at this point
jQuery UI - Text not selectable

Using a script found on the following page (which after some editing I got to work) for some nice and simple drag and drop boxes, the text within the (content div) boxes isn't selectable.

I was wondering if anyone kniows if it's the jQuery UI that's disabled text selection or if it's something I've done wrong!

Any help would be great!

Thanks,

Here's the script I used:

http://webdeveloperplus.com/jquery/s...g-drop-panels/

Last edited by gareth_davies; 04-25-2011 at 02:18 PM.. Reason: Fixed the Issue
gareth_davies is offline   Reply With Quote
Old 04-25-2011, 02:02 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,600
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
What happens if you try to highlight the text? Are you dragging the box? You can restrict the drag to a certain element that serves as handle: http://jqueryui.com/demos/draggable/ (see options)
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 04-25-2011, 02:07 PM   PM User | #3
gareth_davies
New to the CF scene

 
Join Date: Apr 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
gareth_davies is an unknown quantity at this point
You can't highlight the text and only the title so to speak seems to be the handle, although this is with in a container div...

I'll have a go and see if changing the handle element works.

Thanks!
gareth_davies is offline   Reply With Quote
Old 04-25-2011, 02:14 PM   PM User | #4
gareth_davies
New to the CF scene

 
Join Date: Apr 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
gareth_davies is an unknown quantity at this point
Okay, so the handle is the h2 in the title bar. The links below in the content-div work... could it be a z-index issue?
gareth_davies is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:51 AM.


Advertisement
Log in to turn off these ads.