<Thomas.O.Smailus@...> wrote:
>
> Yeah, this is ancient... but...
> 
> Did you ever get a solution to this:
> A way to turn off the default ASV text highlighting functionality?

<Peter Sorotokin (Jan 2002) wrote:
> You need to do this:
> evt.preventDefault()
> in all your event handlers (mousedown, mouseup, mousemove).
>Peter

Hi Thomas,
I also use this in HTML5 documents, where SVG is inline.
I have svg sliders that could place unwanted focus on both the text in the svg 
and html when I drag the slider element, and happen to pass over text.

e.g. onmousedown at slider element:
function startDrag(evt)
{
//- start drag/drop code--
         //---prevents focus on text in html & svg---
        document.onmousemove=evt.preventDefault()
        document.onmouseover=evt.preventDefault()
        document.onmousedown=evt.preventDefault()

}

Regards,
Francis









------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to