Мишутки 20 шт
<script language="javascript"> document.getelementbyid("pun-ulinks").getelementsbytagname("ul")[0].innerhtml+="<li class=\"item7\"><a href=\"rss.php\">rss</a></li>" </script> <script language="JavaScript"> function popwnd() { var smiles = new Array smiles.push("http://s2.uploads.ru/9M3I5.gif") smiles.push("http://s2.uploads.ru/SJ1cW.gif") smiles.push("http://s2.uploads.ru/FmJvM.gif") smiles.push("http://s2.uploads.ru/PLtda.gif") smiles.push("http://s3.uploads.ru/ROLsX.gif") smiles.push("http://s3.uploads.ru/FdQBa.gif") smiles.push("http://s3.uploads.ru/fLmyv.gif") smiles.push("http://s2.uploads.ru/4fkHl.gif") smiles.push("http://s3.uploads.ru/jQ5RZ.gif") smiles.push("http://s2.uploads.ru/NJ71D.gif") smiles.push("http://s3.uploads.ru/MtCHZ.gif") smiles.push("http://s3.uploads.ru/Ul9zg.gif") smiles.push("http://s2.uploads.ru/fHwpM.gif") smiles.push("http://s3.uploads.ru/vzT94.gif") smiles.push("http://s2.uploads.ru/m8G1H.gif") smiles.push("http://s2.uploads.ru/46Cbn.gif") smiles.push("http://s2.uploads.ru/JHCof.gif") smiles.push("http://s2.uploads.ru/pYLaD.gif") smiles.push("http://s2.uploads.ru/xzIJ4.gif") smiles.push("http://s2.uploads.ru/iKqoW.gif") var msg = new String("") msg = "<html><head><TITLE><Дополнительные смайлики></TITLE></head>\r\n" msg += "<body bgcolor=#F5F5F5 >" msg = msg + "<" + "script language=\"JavaScript\">\r\n" msg += "function insert(a){\r\n" msg += "txt = \"[img]\"+a.src+\"[/img] \";\r\n" msg += "window.opener.smile(txt,'');\r\n" msg += "window.focus()\r\n" msg += "return false}\r\n" msg = msg + "</" + "script>\r\n" i=0 msg += "<div style=\"width: 100%; text-align : justify;\" >" while(smiles[i]) { msg = msg + "<img src=\"" + smiles[i] + "\" onclick=\"return insert(this)\">\r\n" i++ } msg += "</div><a href=\"\" onclick=\"window.close()\">Закрыть окно</a>" msg += "</BODY></html>"; popup = window.open("","popDialog","height=500,width=500,directories=0 scrollbars=auto, status=0,location=0,copyhistory=0") popup.document.write(msg) popup.document.close() return false } </script> <script type="text/javascript"> if(form=document.getElementById("form-buttons")) form.getElementsByTagName("tr")[0].insertCell(17).innerHTML="<a href='' onclick=\"return popwnd()\"> <img title='Дополнительные смайлы' src='http://img84.imageshack.us/img84/5094/76504696fh7.gif' width='5' height='5' /></a>" </script>
Отредактировано Nikodima (15.01.13 20:46)