ListItem not selectable
I have a web based chat application. My issues is that the div that
displays the chat message is not selectable. Nor does it convert email
addresses, urls into links, or render smilies. For the android based
version of the app adding android:textIsSelectable="true" and
android:autoLink="web|all" how do I make this adjustment in html?
var chatmsg='<li id="cmt-'+msgId+'">\
<a href="#gprofile"
onclick="showProfile('+userId+')"><div
class="commentInfo" onclick=""><img src="'+picture+'"
height="40" /><span
style="font-weight:bold;color:blue;text-decoration:underline;"
onchange="fullScreen();"
'+gclass+'>'+userName+'</span><br /><small
class="commentDateStamp">'+datetime+'</small></div></a>\
<div class="comment">\
<p>'+textmsg+'</p>\
</div>\
<div style="clear:both;"></div>\
</li>';
if (userName!="SYSTEM")
$("#ulcmessages").append(chatmsg);
No comments:
Post a Comment