Здравствуйте,очень прошу вас помочь. Дайте пожалуйста скрипт изменения слов "форум" "участники" и т.п. на свои.
И один скрипт для баннеров. Что-бы при нажатие на картинку появлялись баннеры.
Извините,может повторяюсь. Не могла не как найти!(
Очень прошу вас помочь!
Сообщений 1 страница 12 из 12
Поделиться12011-01-02 17:41:28
Поделиться22011-01-02 18:15:04
Регистрация
<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>
<!--
valiof="Ваше слово"
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>
<!--
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>
<!--
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>Для баннеров:
<div id="html-footer" class="section">
<div class="container"><div>
<input type="Button" value="ссылка на изображении при нажатии" onclick="return showhide(this)">
<p style="display:none">
тут пишем коды баннеров
</div>
<script>
function showhide(b){
p = b.parentNode.getElementsByTagName("p")[0]
if(b.value=="Просмотреть баннеры"){
b.value="Скрыть баннеры"
p.style.display="block"}
else{
b.value="Просмотреть баннеры"
p.style.display="none"}
return false}
</script>
</div>Поделиться32011-01-02 18:29:19
Спасибо большое,только нету скрипта на кнопку поиск.
А на счёт баннеров,я хочу что-бы они не на другой странице появились
а под картинкой. Есть такой скрипт?
Поделиться42011-01-02 18:43:50
ой,а вы не подскажите ещё один скрипт? как зделать весь текст на форуме наклонным?
Поделиться52011-01-02 19:58:37
Спасибо большое,только нету скрипта на кнопку поиск.
<script>
<!--
findof="<input type='button' value='Поиск' onClick=location.href='ссылка/search.php'>"
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>А на счёт баннеров,я хочу что-бы они не на другой странице появилисьа под картинкой. Есть такой скрипт?
<div class="container"><a title="click" onclick="obj=this.parentNode.childNodes[1].style; tmp=(obj.display!='block') ? 'block' : 'none'; obj.display=tmp; return false;" class="tagcutflag"><b><center><img src="ссылка на картинку"></center></b></a><div style="display: none">
баннеры</div></div>
ой,а вы не подскажите ещё один скрипт? как зделать весь текст на форуме наклонным?
<style>
.punbb {
font-style: italic;
}
</style>
Поделиться62011-01-02 20:05:06
спасибо огромадное,вам +
Поделиться72011-01-02 20:47:39
И снова я)) не могли бы дать скрипт на сужение форума? ну короче,зделать его уже))
Поделиться82011-01-03 01:02:46
И снова я)) не могли бы дать скрипт на сужение форума? ну короче,зделать его уже))
<style type="text/css">
#pun {width: 60%; margin: auto; }
</style>
Поделиться92011-01-03 20:19:56
Спаасибо) поможешь ещё?
не знаешь скрипт что-бы все под-форумы зделать своим цветом?
не белом,а зелёным там.
Поделиться102011-01-03 22:01:05
не знаешь скрипт что-бы все под-форумы зделать своим цветом?
что именно вы имеете в виду проскриньте пожалуйста.
Поделиться112011-01-04 13:22:37
я не помню адресс форума. Что-бы как бы весь столбик с подфорумами был другим цветом
Поделиться122011-04-23 19:23:22
СРОЧНО НУЖЕН СКРИПТ!
как сделать текст в объявлении по середине?