Since it appears that js cannot unselect selected text in SVG, I would like to disable the ability to select text to create my own way to select text. I used pointer-events="none", but I still need to be able to capture click events in the text. Is there a way to disable select text? Thanks.
Sean Sean wrote: >I have managed to add the ability to copy and paste text into my svg >text box, but the last thing I need is for the selected text to become >unselected when certain events occur. If anyone has a suggestion, I'd >appreciate it, and I'll post the updated textBox on Mon. Thanks. > >Sean > >benamou wrote: > > > >>I have only managed to avoid selection by overlaping by a transparent >>rect using getBBox .... >> >>If it is only because of the cursor, FF1.5 allows to change it ... >> >>JD >> >> >>----- Original Message ----- >>From: "Sean" <[EMAIL PROTECTED]> >>To: <[email protected]> >>Sent: Friday, February 03, 2006 9:46 PM >>Subject: [svg-developers] Selected text >> >> >> >> >> >> >>>Is there a way to deselect selected text with javascript? Thanks. >>> >>>Sean >>> >>>-- >>>"I'd rather have a bottle in front of me, than a frontal lobotomy." >>>-- Tom Waits >>> >>> >>> >>>----- >>>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 unsubscribe send a message to: [EMAIL PROTECTED] >>-or- >>visit http://groups.yahoo.com/group/svg-developers and click "edit my >>membership" >>---- >>Yahoo! Groups Links >> >> >> >> >> >> >> >> >> >> >> >> > > > -- "I'd rather have a bottle in front of me, than a frontal lobotomy." -- Tom Waits ----- 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/ <*> 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/

