Не можете найти какой-нибудь скрипт - обращайтесь в эту тему.
Поиск скриптов.
Сообщений 1 страница 6 из 6
Поделиться214-04-2010 16:52:37
Ай .... мне нужно два скрипта ..... последние смски на форуме ( у меня глкнуты ) и .... как поменять словат" участники " , " Лес " и т . д .
Поделиться314-04-2010 20:12:29
Вот смена "Форум,участники и т.п."
<script>
<!--
regof="Регистрация "
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><script>
<!--
vxodiof="Войти"
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>
<!--
indexof="Форум"
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="Участники"
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>
<!--
pravilof="Правила"
str = document.getElementById("navrules").innerHTML
pos = str.indexOf("Правила")
document.getElementById("navrules").innerHTML=str.substring(0,pos)+pravilof+str.substring(pos+14,str.length-1)
-->
</script><script>
<!--
findof="Поиск"
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="Профиль"
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="Сообщения"
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="Администрирование"
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 language="JavaScript">
var str = new String(document.getElementById("navpm").innerHTML)
var str2 = new String(document.location)if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
{
alert("У Вас есть непрочитанные личные сообщения")}
</script>
красный-текст тоже заменить можешь, но он и так вроде хорош)
Поделиться413-07-2010 17:34:58
Как сделать так что бы в меню (форум участники...) Дополнительный пункт. Нажимаешь и высвечиваеться уже не форум, а например сайт.
Поделиться513-07-2010 21:22:44
Лака
Pfqlb gj ccskrt^