Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 03:18 PM. Reason: Fixed the Issue

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,871
    Thanks
    6
    Thanked 1,029 Times in 1,002 Posts
    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)

  • #3
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #4
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •