Новый скрипт кнопками (скачать материал и жалоба) для uCoz
В принципе установка легкая и не уделит много времени )
1)Заходим в страницу материала и комментарии к нему и вставляем где вы хотите видеть кнопки Например: я взял и поставил скрипт после $MESSAGE$ и тоже так вам советую сделать
Код
<div class="post-bottom"><a class="read-more" href="$FILE_URL$$RFILE_URL$">Скачать материал</a> <a class="comments-lnk" href="javascript://" onclick="complaint('Master')">Жалоба</a> <script type="text/javascript" src="http://master-ucoz.ru/js/newComplaint.js">
2) Далее идем в таблицу стилей CSS и вставляем данный код
Код
.post-bottom i {font-size: 15px; padding-right: 5px;}
.post-bottom { clear: both; overflow: hidden; margin-top: 25px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; line-height: 35px; }
.post-bottom a { -webkit-transition: inherit; transition: inherit; }
.post-bottom a:hover, .post-details a:hover { color: #56a0cc; font-weight: 600; }
.read-more { display: inline-block; padding: 0 20px 2px; height: 29px; border: 2px solid #383e47; border-radius: 8px; color: #383e47; text-decoration: none; font-size: 14px; line-height: 33px; }
.read-more:hover { display: inline-block; padding: 0 20px 2px; height: 29px; border: 2px solid #56A0CC; border-radius: 8px; color: #56A0CC; text-decoration: none; font-size: 14px; line-height: 33px; }
.comments-lnk { margin-right: 10px; float: right; display: inline-block; padding: 0 20px 2px; height: 29px; border: 2px solid #383e47; border-radius: 8px; color: #383e47; text-decoration: none; font-size: 14px; line-height: 33px; }
.comments-lnk:hover { display: inline-block; padding: 0 20px 2px; height: 29px; border: 2px solid #56A0CC; border-radius: 8px; color: #56A0CC; text-decoration: none; font-size: 14px; line-height: 33px; }
От себя хочу добавить что кнопкам так же можно изменить цвет и тому подобное если у вас не кривые ручки)))
Жалоба