jquery.qqFace留言框QQ表情特效

jquery.qqFace留言框QQ表情特效608
<script  src="js/jquery.min.js"></script><script type="text/javascript" src="js/jquery.qqFace.js"></script><script type="text/javascript">$(function(){	$('.emotion').qqFace({		id : 'facebox', 		assign:'saytext', 		path:'arclist/'	//表情存放的路径	});	$(".sub_btn").click(function(){		var str = $("#saytext").val();		$("#show").html(replace_em(str));	});});//查看结果function replace_em(str){	str = str.replace(/\</g,'<');	str = str.replace(/\>/g,'>');	str = str.replace(/\n/g,'<br/>');	str = str.replace(/\[em_([0-9]*)\]/g,'<img src="arclist/$1.gif" border="0" />');	return str;}</script> 

也许你还喜欢