коды
Сообщений 1 страница 7 из 7
Поделиться22011-07-25 22:35:24
<a href="ссылка на профиль" title="ник"><img src="без мышки"
onmouseover=src="с мышкой"
onmouseout=src="без мышки" border=0 height=32px width=142></a>
Поделиться32011-07-25 22:36:09
сменить значок в окне браузера
<link rel="shortcut icon" href="ССыль" type="image/x-icon">
Поделиться42011-07-25 22:40:17
<script>
<!--
indexof="<img src='картинка ФОРУМ' >"
str = document.getElementById("navindex").innerHTML
pos = str.indexOf("Форум")
document.getElementById("navindex").innerHTML=str.substring(0,pos)+indexof+str.substring(pos+5,str.length-1)
-->
</script>
<script>
<!--
userof="<img src='картинка УЧАСТНИКИ' >"
str = document.getElementById("navuserlist").innerHTML
if( (pos=str.indexOf("Участники")) != -1 )
document.getElementById("navuserlist").innerHTML=str.substring(0,pos)+userof+str.substring(pos+9,str.length-1)
-->
</script>
<script>
<!--
findof="<img src='картинка ПОИСК' >"
str = document.getElementById("navsearch").innerHTML
pos = str.indexOf("Поиск")
document.getElementById("navsearch").innerHTML=str.substring(0,pos)+findof+str.substring(pos+5,str.length-1)
-->
</script>
<script>
<!--
faseof="<img src='картинка ПРОФИЛЬ' >"
str = document.getElementById("navprofile").innerHTML
pos = str.indexOf("Профиль")
document.getElementById("navprofile").innerHTML=str.substring(0,pos)+faseof+str.substring(pos+14,str.length-1)
-->
</script>
<script>
<!--
pismaof="<img src='картинка СООБЩЕНИЯ (ЛС)' >"
str = document.getElementById("navpm").innerHTML
pos = str.indexOf("Сообщения")
document.getElementById("navpm").innerHTML=str.substring(0,pos)+pismaof+str.substring(pos+9,str.length-1)
-->
</script>
<script>
<!--
godof="<img src='картинка АДМИНИСТРИРОВАНИЕ' >"
str = document.getElementById("navadmin").innerHTML
pos = str.indexOf("Администрирование")
document.getElementById("navadmin").innerHTML=str.substring(0,pos)+godof+str.substring(pos+17,str.length-1)
-->
</script>
<script>
<!--
valiof="<img src='картинка ВЫХОД' >"
str = document.getElementById("navlogout").innerHTML
pos = str.indexOf("Выход")
document.getElementById("navlogout").innerHTML=str.substring(0,pos)+valiof+str.substring(pos+5,str.length-1)
-->
</script>
<script>
<!--
vxodiof="<img src='картинка ВОЙТИ' >"
str = document.getElementById("navlogin").innerHTML
pos = str.indexOf("Войти")
document.getElementById("navlogin").innerHTML=str.substring(0,pos)+vxodiof+str.substring(pos+5,str.length-1)
-->
</script>
<script>
<!--
regof="<img src='Картинка РЕГИСТРАЦИЯ' >"
str = document.getElementById("navregister").innerHTML
pos = str.indexOf("Регистрация")
document.getElementById("navregister").innerHTML=str.substring(0,pos)+regof+str.substring(pos+18,str.length-1)
-->
</script>
Поделиться52011-07-25 22:40:30
.punbb table Div.icon {float: right; display: block; border-style: none none none none; margin-left: 20px;
width: 80px;
height: 80px;
background-image : url(старые);
background-repeat: no-repeat;
}
TR.inew Div.icon {
background-image : url(новые);
background-repeat: no-repeat;
width: 80px;
height: 80px;
}
TR.isticky Div.icon {
background-image : url(важные темы);
background-repeat: no-repeat;
width: 80px;
height: 80px;
}
TR.iclosed Div.icon {
background-image : url(закрытые);
background-repeat: no-repeat;
width: 80px;
height: 80px;
}
Поделиться62011-07-25 22:41:28
фиксированная навигация
/* CS1.8 */
#pun-navlinks .container {
background-image: url(ссылка на картинку на фоне нав. меню);
background-color: #633da6
color: #004a03;
top: 0px;
width: 750px;
height: 25px;
position: fixed;
background-position: top center; }
цвета, размер, разумеется, можно менять)
Поделиться72011-07-25 22:44:34
<style type="text/css">
#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 0; left: 315px; top: 5px}
</style>
двигать рекламу