Thanks alex and detailed information,
Is the only method using  Firebug extension? I am not prefer this, because
impossible need user to do that. any javascript or method can I do with
enable selection?

also I want to know the detail with alex said " if you dynamically remove
the CSS property at 
the body element the text inside the HtmlEmbeds are selectable"

Thank you everyone's help!!



Alexander Back wrote:
> 
> Hi Simon,
> 
> the reason for this behaviour is the CSS property "MozUserSelect" which 
> is set by several widgets (including the table, exactly the default 
> headerRenderer class) to "none". It seems, that Gecko is setting the 
> property at the body element (-> "-moz-user-select:none") and this 
> prevents any selection on the whole page.
> Unfortunately you cannot set this property on element level to enable 
> user selection on specific elements and leaving all other elements 
> untouched, because this is still a bug in the gecko engine.
> 
> So the only possible workaround could be to manually set the property at 
> the body element after the page finished loading. I've just experimented 
> with it using the Firebug extension (this way you can enable/disable CSS 
> properties on the fly) and if you dynamically remove the CSS property at 
> the body element the text inside the HtmlEmbeds are selectable.
> 
> Hope this helps,
>    Alex
> 
> simoms wrote:
>> In the page, I only add the qooxdoo component in the div, and using
>> qx.ui.basic.Inline add it to existing html.
>> the page similar as  http://www.fitnesswelt.com/fitness-shop/ 
>> 
>> but the problem is when using qooxdoo, the selection and copy function is
>> disabled. I need to active the selection and mouse right click function,
>> how
>> can i do?
>> 
>> Thanks,
>> Simon
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/selection-text-on-straight-HTML-tp18501450p18521256.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to