perayo
12-11-2003, 05:52 PM
I made a page with the following body attributes:
<body ondragstart='return false' onselectstart='return false' oncontextmenu='return false'>
which makes the page right-unclickable or highlighted. But there's also a textarea which I want users to be able to highlight. I tried
<textarea cols=50 rows=10 wrap="virtual" ondragstart="return true" onselectstart="return true" oncontextmenu="return true">text</textarea>
but that doesn't seem to work. Is there a way to do this or must I leave out the body attributes in order for the textarea to be right-clickable/highlighted. Thanks.
<body ondragstart='return false' onselectstart='return false' oncontextmenu='return false'>
which makes the page right-unclickable or highlighted. But there's also a textarea which I want users to be able to highlight. I tried
<textarea cols=50 rows=10 wrap="virtual" ondragstart="return true" onselectstart="return true" oncontextmenu="return true">text</textarea>
but that doesn't seem to work. Is there a way to do this or must I leave out the body attributes in order for the textarea to be right-clickable/highlighted. Thanks.