смайлы:
пример в каждом сообщении в конце:)
<img src="https://forumupload.ru/uploads/0003/ac/ce/5712-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5712-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5712-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5712-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5712-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5713-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5713-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5713-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5713-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5713-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5714-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5714-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5714-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5714-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5714-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5715-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5715-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5715-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5715-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5726-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5726-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5726-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5726-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5726-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5727-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5727-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5727-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5727-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5727-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5728-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5728-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5728-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5728-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5728-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5729-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5729-2.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5729-3.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5729-4.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5729-5.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" /> <img src="https://forumupload.ru/uploads/0003/ac/ce/5730-1.gif" onclick="smile('[img]'+this.src+'[/img]')" style="cursor: pointer;" />
снежинки падающие(вставлять в хтмл низ)
<script language="JavaScript1.2"> grphcs=new Array(2) Image0=new Image(); Image0.src=grphcs[0]="http://fantasyflash.ru/script/web/image/sneg1.gif"; Image1=new Image(); Image1.src=grphcs[1]="http://fantasyflash.ru/script/web/image/sneg1.gif"; Amount=25; Ypos=new Array(); Xpos=new Array(); Speed=new Array(); Step=new Array(); Cstep=new Array(); ns=(document.layers)?1:0; ns6=(document.getElementById&&!document.all)?1:0; if (ns){ for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P]; document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>"); } } else{ document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P];//osw document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">'); } document.write('</div></div>'); } WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight; WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;//fantasyflash.ru for (i=0; i < Amount; i++){ Ypos[i] = Math.round(Math.random()*WinHeight); Xpos[i] = Math.round(Math.random()*WinWidth); Speed[i]= Math.random()*5+3; Cstep[i]=0; Step[i]=Math.random()*0.1+0.05; } function fall(){ var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth; var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop; var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < Amount; i++){ sy = Speed[i]*Math.sin(90*Math.PI/180); sx = Speed[i]*Math.cos(Cstep[i]); Ypos[i]+=sy; Xpos[i]+=sx; if (Ypos[i] > WinHeight){ Ypos[i]=-60; Xpos[i]=Math.round(Math.random()*WinWidth); Speed[i]=Math.random()*5+3; } if (ns){ document.layers['sn'+i].left=Xpos[i]; document.layers['sn'+i].top=Ypos[i]+hscrll; } else if (ns6){ document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]); document.getElementById("si"+i).style.top=Ypos[i]+hscrll; } else{ eval("document.all.si"+i).style.left=Xpos[i]; eval("document.all.si"+i).style.top=Ypos[i]+hscrll; } Cstep[i]+=Step[i]; } setTimeout('fall()',20); } window.onload=fall //--> </script>
еще смайлы:
<a title="Дед мороз" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s15.rimg.info/cd208f791f4d0696a21ec01c6576c6bf.gif"/></a> <a title="Снеговик" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s15.rimg.info/c47635a61975f6b233c82dcdc0293a74.gif"/></a> <a title="Ёлочка" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s14.rimg.info/38c4d84a6b5f9ae9b96ab4c895371141.gif"/></a> <a title="Гирлянда" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s7.rimg.info/f1d3589eeccf8506108f45fae2bf8b9f.gif"/></a> <a title="С новым годом!" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s15.rimg.info/068fc0a61e4bf2b739357fcede4b327f.gif"/></a> <a title="Бокал" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s5.rimg.info/0121f01907b72b5bdc344e905f08a72c.gif"/></a> <a title="Сладкоежка" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/8e789d8fe680cd01d0d0e8cc4720bb3a.gif"/></a> <a title="За окном снежок идет..." href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/069a2d0ffcb6eccdaebd65e68cf36d30.gif"/></a> <a title="Сани" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/5e9cd369ddde950d009c30c7145b3b87.gif"/></a> <a title="Дружба" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/5dd8fca9b0fac653ad0c6e1e10f06536.gif"/></a> <a title="Привет" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/2c04321eeba29ff7511f91674225d9f7.gif"/></a> <a title="Колокольчики" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/f556d3d1ac48fd347dcfd067b9c7898c.gif"/></a> <a title="Любовь" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/98591c245de4b630f59959a0f42c6d73.gif"/></a> <a title="Танцы" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/41fd910f095b6b4de5278d3ebc428d41.gif"/></a> <a title="Коньки" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/13197f7819410ea7b74bf841c7e35983.gif"/></a> <a title="Шарик" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/9947508c0fe9e38c88bb25664e188b6a.gif"/></a> <a title="Уже несу" href="javascript:void(0); return false;" onclick="smile('[img]' + this.firstChild.src + '[/img]', ''); return false;"><img border="0" src="http://s4.rimg.info/c75a289e186e008f445d206593320d21.gif"/></a>