Автор:
mkusher
Установка:
Код:
<style> .pa-posts{display: none;} </style>
В html-верх:
Код:
<script type="text/javascript"> if(UserPosts > 100){ var obj = document.getElementById('pun-main').getElementsByTagName('li'); var i=0; while(obj[i]){ if(obj[i].className=='pa-posts') { obj[i].style.display = 'block'; } i++; } } </script>
В html-низ: