文字的打字效果
var pos = 0;var timeid;function bridge_f(_dom,text){clearTimeout(timeid);var d = $(_dom).find("p");var max = text.length;d.html(text.substring(1, pos));pos++;if(pos<=max){ timeid = setTimeout(function(){bridge_f(_dom,text);}, 100);}}function show_fun(_dom){pos=0;$(_dom).parent().parent().hide();var d =$(_dom).parent().parent().next();d.show();bridge_f($(d),$(d).find("p").html());}