Помогите пожалуйста!Как создать свой стиль!???!!!Помогите!!!!!!!!!
Помощь
Страница: 1
Тема закрыта
Сообщений 1 страница 8 из 8
Поделиться103.01.2009 18:03:18
Поделиться303.01.2009 18:21:40
Ещё один вопрос:как изменить названия этих названий-"Форум. Участники Поиск Профиль Сообщения Администрирование Выход"?????
Поделиться403.01.2009 18:44:33
Код:
<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> <!-- 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> <!-- 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> <!-- 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>
Ну дальше сами
В НИЗ
Отредактировано !!! (03.01.2009 18:45:45)
Поделиться503.01.2009 18:49:12
Спасибо!!!!Лови +!
Поделиться616.01.2009 18:03:01
Накопился вопросик:как вставить картинку(или ХТМЛ)в категорию ?
Поделиться716.01.2009 21:05:27
Polumna написал(а):
Накопился вопросик:как вставить картинку(или ХТМЛ)в категорию ?
То бишь? Это?
Код:
<script type="text/javascript"> var logo="<img src='http://[b][color=red]НЕ НАШ СЕРВИС![/color][/b]/f/collection/0211.gif'>" var arr=document.getElementsByTagName("div") i=0 while(arr[i] ){ if(arr[i].className=="category"){ name=arr[i].innerHTML name=name.substring(48) arr[i].innerHTML="<h2><div class=\"catleft\"><!-- --></div><span> "+logo+"  "+name+"" } i++ } </script>
ХТМЛ-низ, адрес меняете на своё.
Поделиться818.01.2009 02:29:58
Polumna
Подобные темы сюда Общие вопросы по Оформлению
Зыкрыто!
Тема закрыта
Страница: 1
Похожие темы
Очень нужна ваша помощь! | Корзина | 09.11.2008 |
~Айко - помощь всем ролевым ресурсам~ | Корзина | 13.12.2009 |
Помощь с ''Помощником" | Корзина | 30.04.2010 |
Нужна помощь по двум вопросам | Корзина | 31.10.2011 |
Срочно нужна помощь | Корзина | 15.08.2007 |