对聊天室外观和功能进行大改,添加使用表情包功能
This commit is contained in:
@@ -28,6 +28,20 @@
|
||||
strFace += '<td><img src="'+path+i+'.gif" onclick="$(\'#'+option.assign+'\').setCaret();$(\'#'+option.assign+'\').insertAtCaret(\'' + labFace + '\');" /></td>';
|
||||
if( i % 15 == 0 ) strFace += '</tr><tr>';
|
||||
}
|
||||
strFace += '</tr></table>';
|
||||
strFace +='<table border="0" cellspacing="0" cellpadding="0"><tr>';
|
||||
for(var i=76; i<=87; i++){
|
||||
labFace ="<image src=arclist/"+i+".gif>";
|
||||
strFace += '<td height="25" width="25"><img src="'+path+i+'.gif" onclick="$(\'#'+option.assign+'\').setCaret();$(\'#'+option.assign+'\').insertAtCaret(\'' + labFace + '\');" /></td>';
|
||||
if( (i-75) % 6 == 0 ) strFace += '</tr><tr>';
|
||||
}
|
||||
strFace += '</tr></table>';
|
||||
strFace +='<table border="0" cellspacing="0" cellpadding="0"><tr>';
|
||||
for(var i=88; i<=118; i++){
|
||||
labFace ="<image src=arclist/"+i+".gif>";
|
||||
strFace += '<td><img src="'+path+i+'.gif" onclick="$(\'#'+option.assign+'\').setCaret();$(\'#'+option.assign+'\').insertAtCaret(\'' + labFace + '\');" /></td>';
|
||||
if( i % 3 == 0 ) strFace += '</tr><tr>';
|
||||
}
|
||||
strFace += '</tr></table></div>';
|
||||
}
|
||||
$(this).parent().append(strFace);
|
||||
|
||||
Reference in New Issue
Block a user