| Главная » Статьи » Прочее |
Оповещение о новом ЛС в ajax
В нижнюю часть сайта вставляйте Код <?if$UNREAD_PM$?> <div style="margin-right:15px;"> <script type="text/javascript"> _uWnd.alert("<b>У вас $UNREAD_PM$ новых сообщений</b><div style=\"padding-top:10px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" onmousedown=\"this.className='downBtn'\" onmouseover=\"this.className='overBtn'\" onmouseout=\"this.className='outBtn'\" class=\"outBtn\"><tbody><tr><td class=\"myBtnLeft\"><td class=\"myBtnCenter\"><div class=\"myBtnCont x-unselectable\" unselectable=\"on\" onclick=\"window.open('$PM_URL$')\"><a href=\"javascript://\" onclick=\"return false;\">Прочитать</a></div></td><td class=\"myBtnRight\"><img border=\"0\" src=\"http://s62.ucoz.net/img/1px.gif\"/></td><td style=\"visibility:hidden;\"/></tr></tbody></table>","Новое сообщение",{w: 250,h: 90,t: 10000}); </script> </div> <?endif?> | |
| Просмотров: 143 | | |
| Всего комментариев: 0 | |
