You rule. Commenting out the two onselect instances(lines 491 & 500) took
care of it, with no (currently) apparent side-effects.
I'm a bit reluctant to call this a bug without input from the devs, though.
At best it's probably more of a feature request to be able to specify not
just a handle, but a body which can be treated differently.
As far as I can guess, text-select failing is desired, from the perspective
of draggable elements being "physical" objects as a unit and not really
containers for stuff. You can specify a handle, but the rest of the box
isn't really a separate thing.
Point of all this being that I'm essentially (mis-)using Draggables as a
/very/ rudimentary windowing utility, which I why I needed text selection,
but I'm not sure if it's appropriate to try and wedge that use into what
it's really intended to do.
But anyway, thanks again.
On 1/26/07, Karl Rudd <[EMAIL PROTECTED]> wrote:
Looks like a bit of an unwanted "feature" (from idrag.js):
if (window.ActiveXObject) {
this.onselectstart = function(){return false;};
this.ondragstart = function(){return false;};
}
I'd file a bug against it.
Karl Rudd
On 1/26/07, Su <[EMAIL PROTECTED]> wrote:
> Anyone?
> I don't mean to be that person who gets crabby at their message being
> ignored, but this is a pretty major consideration, and it seems odd to
me
> that I can't find reference to it anywhere.
>
> On 1/23/07, Su <[EMAIL PROTECTED]> wrote:
> > Preliminary searching hasn't turned up anything, so sorry if this is a
> dupe; I'm still digging around.
> >
> > Setting a div as draggable appears to kill text selection in IE6 (I
> haven't checked 7 yet). Is there by any chance a way around this?
> > If it helps anything, there is a handle specified, not the whole
object,
> and the actual content is within a separate div inside, more or less
like
> so:
> >
> > <div class="draggable">
> > <div class="handle">
> > <h2>This is the handle</h2>
> > </div>
> > <div class="body">
> > <p>Stuff goes here. Becomes unselectable</p>
> > </div>
> > </div>
> >
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/