Я бы тоже дал... Но не админ...Добавлено (27.07.2011, 10:36) --------------------------------------------- Попробуй так:
<!-- Стена --> <div class="block2"> <div class="blocktops stena"> <table height="20px" width="100%"> <tr> <td> Стена </td> <td style="padding-right:15px;" align="right"> </td> </tr> </table> </div> <h3> <div style="float: right;"> <span class="divide"></span><a href="javascript: if (ge('wRaquo').innerHTML == '»') {ge('wRaquo').innerHTML = '«'} else {ge('wRaquo').innerHTML = '»'}; shide('moreWall'); "><span id="wRaquo"></span></a> </div> </h3> </div> <div id="moreWall" style="display: none;"><a class="wallFunc" href="$HOME_PAGE_LINK$media/?t=draw;h=1">Граффити</a><a class="wallFunc" href="">Test</a><a class="wallFunc" href="">Test</a><a class="wallFunc" href="">Test</a></div> <script type="text/javascript"> function show_quick_reply() { quickReply('quickReply', 0.55, 0.40, 1); ge('reply_field').value = ''; } function checkLinks() {if (isGroup && !linksAllowed && hasLinks(ge('reply_field').value)) {alert('Владелец стены запретил использование ссылок.'); return false; } else {return true;}} var posting_on_wall = false; function postIt() { if (posting_on_wall) { return; } var txt = ge('reply_field').value; if (!trim(txt).length) { ge('reply_field').focus(); return; } posting_on_wall = true; page = page + 1; hide('msg', 'dld'); show('progr2'); setTimeout('ge("progr2").src = "images/upload.gif"', 200); var params = {act: 'get10', wall_hash: '99eb29301a46e4bb9f3674810727dacd', wpage: 100000, seed: txt, fpage: page, mid: ge('to_id').value, n: 3}; var callback = function(obj, text) { posting_on_wall = false; hide('r', 'progr2'); show('msg'); ge('fBox2').innerHTML = parseResponse(text); } var stop = function(obj, text) { hide('progr2'); ge('reply_field').focus(); posting_on_wall = false; } var options = {onSuccess: callback, onFail: stop, onCaptchaShow: stop, onCaptchaHide: stop}; Ajax.postWithCaptcha('wall.php', params, options); } </script> <div id="quickReply"> <div id="r" class="r" style="display: none;"> <div style="padding: 5px 12px;"> <form method="POST" action="wall.php" name="postMessage" id="postMessage"> <input id="to_id" name="to_id" value="434667414852" type="hidden"> <input id="act" name="act" value="sent" type="hidden"> <textarea onKeyUp="utils.checkTextLength(4096, this.value, ge('textWarn'))" id="reply_field" name="message" style="width: 360px; height: 80px;" onKeyPress="if (event.keyCode==10 || (event.ctrlKey && event.keyCode==13)) {if (checkLinks()) {postIt()}}"></textarea> </form> <div id="textWarn" style="margin: 5px 0px; color: rgb(102, 102, 102); display: none; width: 280px; float: left;"></div> <div style="height: 25px;"> <div id="br" style="text-align: right;"> <ul class="nNav" style="float: right;"> <li style="margin-top: 3px; margin-right: 4px;"> <b class="nc"><b class="nc1"><b></b></b><b class="nc2"><b></b></b></b> <span class="ncc"><a id="postIt" title="Ctrl+Enter" href="javascript: postIt()" onClick="return checkLinks()">Отправить</a></span> <b class="nc"><b class="nc2"><b></b></b><b class="nc1"><b></b></b></b> </li> </ul> <!--ul class="buttonRow" style="float:right;" class="clearFix"> <li style="width:6.4em;"><a style="width:5.4em;" title="Ctrl+Enter" onclick="return checkLinks();" id="postIt" href="javascript: postIt()">Отправить</a></li> </ul--> </div> </div> </div> </div> </div> <div id="msg" style="display: none;">Сообщение отправлено,обновите страницу!</div> <div id="dld" style="display: none;">Сообщение удалено.</div> <script for="playerWall" event="FSCommand" language="Jscript"> if(browser.msie){ if (arguments && arguments[1] && /^(flashDebug|stateChanged\(([^()]+)\);$)/.test(arguments[1])) { eval(arguments[1]); } } </script> <div class="flexBox clearFix" id="fBox2"> <div id="wPostContainer53625269"> <div id="wPostContent53625269"> <iframe hspace="0" vspace="0" allowtransparency="true" src="/dir/1-1-0-$_USER_ID$" width="600" frameborder="0" height="700" scrolling="auto"></iframe> </div></div> </div> </div> </div> </div> </div> </div>
Или так:
<!-- Стена --> <div class="block2"> <div class="blocktops stena"> <table height="20px" width="100%"> <tr> <td> Стена </td> <td style="padding-right:15px;" align="right"> </td> </tr> </table> </div> </div> <div id="moreWall" style="display: none;"><a class="wallFunc" href="$HOME_PAGE_LINK$media/?t=draw;h=1">Граффити</a><a class="wallFunc" href="">Test</a><a class="wallFunc" href="">Test</a><a class="wallFunc" href="">Test</a></div> <script type="text/javascript"> function show_quick_reply() { quickReply('quickReply', 0.55, 0.40, 1); ge('reply_field').value = ''; } function checkLinks() {if (isGroup && !linksAllowed && hasLinks(ge('reply_field').value)) {alert('Владелец стены запретил использование ссылок.'); return false; } else {return true;}} var posting_on_wall = false; function postIt() { if (posting_on_wall) { return; } var txt = ge('reply_field').value; if (!trim(txt).length) { ge('reply_field').focus(); return; } posting_on_wall = true; page = page + 1; hide('msg', 'dld'); show('progr2'); setTimeout('ge("progr2").src = "images/upload.gif"', 200); var params = {act: 'get10', wall_hash: '99eb29301a46e4bb9f3674810727dacd', wpage: 100000, seed: txt, fpage: page, mid: ge('to_id').value, n: 3}; var callback = function(obj, text) { posting_on_wall = false; hide('r', 'progr2'); show('msg'); ge('fBox2').innerHTML = parseResponse(text); } var stop = function(obj, text) { hide('progr2'); ge('reply_field').focus(); posting_on_wall = false; } var options = {onSuccess: callback, onFail: stop, onCaptchaShow: stop, onCaptchaHide: stop}; Ajax.postWithCaptcha('wall.php', params, options); } </script> <div id="quickReply"> <div id="r" class="r" style="display: none;"> <div style="padding: 5px 12px;"> <form method="POST" action="wall.php" name="postMessage" id="postMessage"> <input id="to_id" name="to_id" value="434667414852" type="hidden"> <input id="act" name="act" value="sent" type="hidden"> <textarea onKeyUp="utils.checkTextLength(4096, this.value, ge('textWarn'))" id="reply_field" name="message" style="width: 360px; height: 80px;" onKeyPress="if (event.keyCode==10 || (event.ctrlKey && event.keyCode==13)) {if (checkLinks()) {postIt()}}"></textarea> </form> <div id="textWarn" style="margin: 5px 0px; color: rgb(102, 102, 102); display: none; width: 280px; float: left;"></div> <div style="height: 25px;"> <div id="br" style="text-align: right;"> <ul class="nNav" style="float: right;"> <li style="margin-top: 3px; margin-right: 4px;"> <b class="nc"><b class="nc1"><b></b></b><b class="nc2"><b></b></b></b> <span class="ncc"><a id="postIt" title="Ctrl+Enter" href="javascript: postIt()" onClick="return checkLinks()">Отправить</a></span> <b class="nc"><b class="nc2"><b></b></b><b class="nc1"><b></b></b></b> </li> </ul> <!--ul class="buttonRow" style="float:right;" class="clearFix"> <li style="width:6.4em;"><a style="width:5.4em;" title="Ctrl+Enter" onclick="return checkLinks();" id="postIt" href="javascript: postIt()">Отправить</a></li> </ul--> </div> </div> </div> </div> </div> <div id="msg" style="display: none;">Сообщение отправлено,обновите страницу!</div> <div id="dld" style="display: none;">Сообщение удалено.</div> <script for="playerWall" event="FSCommand" language="Jscript"> if(browser.msie){ if (arguments && arguments[1] && /^(flashDebug|stateChanged\(([^()]+)\);$)/.test(arguments[1])) { eval(arguments[1]); } } </script> <div class="flexBox clearFix" id="fBox2"> <div id="wPostContainer53625269"> <div id="wPostContent53625269"> <iframe hspace="0" vspace="0" allowtransparency="true" src="/dir/1-1-0-$_USER_ID$" width="600" frameborder="0" height="700" scrolling="auto"></iframe> </div></div> </div> </div> </div> </div> </div> </div>