UNSELECTABLE Attribute
Specifies that an element cannot be selected.
Syntax
HTML<ELEMENT UNSELECTABLE=bUnselectable ... > ScriptingN/A
Possible Values
bUnselectableSpecifies whether an element is prohibited from being selected. offDefault. Permits selection of the element.onProhibits selection of the element.
Remarks
Note Setting the UNSELECTABLE attribute to off does not ensure that the element is selectable. One example is an HTML Application (HTA) with the SELECTION attribute set to no. Elements in the body of the HTA cannot be selected, whether the element's UNSELECTABLE attribute is set to off or not. Clicking on an element with the UNSELECTABLE attribute set to on does not destroy the current selection if one exists. An element with the UNSELECTABLE attribute set to on can be included in a selection that starts somewhere outside the element. The UNSELECTABLE attribute is implemented as an expando. Setting the expando property of the document object to false precludes the functionality of all expandos.
Clicking on an element with the UNSELECTABLE attribute set to on does not destroy the current selection if one exists.
An element with the UNSELECTABLE attribute set to on can be included in a selection that starts somewhere outside the element.
The UNSELECTABLE attribute is implemented as an expando. Setting the expando property of the document object to false precludes the functionality of all expandos.
Example
This example shows that the UNSELECTABLE attribute is not inherited by child objects. Text in the TEXTAREA element can be selected and modified, but the text in the parent SPAN element cannot be selected. <P> <SPAN ID="oSpan" UNSELECTABLE="on" >This text cannot be selected. <P> <TEXTAREA WRAP="PHYSICAL" ROWS="5" STYLE="font-weight: bold;" ID="oTextarea"> This text can be selected and overwritten. </TEXTAREA> </P> This text closes the SPAN and cannot be selected either. </SPAN> </P>
This example shows that the UNSELECTABLE attribute is not inherited by child objects. Text in the TEXTAREA element can be selected and modified, but the text in the parent SPAN element cannot be selected.
<P> <SPAN ID="oSpan" UNSELECTABLE="on" >This text cannot be selected. <P> <TEXTAREA WRAP="PHYSICAL" ROWS="5" STYLE="font-weight: bold;" ID="oTextarea"> This text can be selected and overwritten. </TEXTAREA> </P> This text closes the SPAN and cannot be selected either. </SPAN> </P>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx Web Messenger: http://cutesoft.net/Web-Messenger/default.aspxasp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspxasp wysiwyg html editor: http://cutesoft.net/ASP asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx Live Support: http://cutesoft.net/live-support/default.aspx
Sets or retrieves the string that indicates whether the user can edit the content of the object.
HTML<ELEMENT CONTENTEDITABLE = sCanEdit... > Scriptingobject.contentEditable(v) [ = sCanEdit ]
sCanEditString that specifies or receives one of the following values. inheritDefault. Content's ability to be edited by user is inherited from object's parent.falseContent cannot be edited by the user.trueContent can be edited by the user.The property is read/write. The property has a default value of inherit. Hope it helps.