форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Вопросы по vBulletin 4.0.x-4.1.х
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
incognito
Продвинутый
 
incognito's Avatar
Default Текст в строке поиска
0

Собственно вопрос в том как в поле поиска вписать текст типа как тут
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
incognito
Продвинутый
 
incognito's Avatar
Default
0

Не ужели не кто не знает ?
 
 
a_n_d_y
Знаток
 
a_n_d_y's Avatar
Default
2

Ищешь в шаблонах нужный input и добавляешь value="пофиг какой текст"
 
 
mff
Продвинутый
 
mff's Avatar
Default
1

В шаблоне navbar найти строку:
HTML Code:
<input type="text" value="" name="query" class="textbox" tabindex="99"/>
заменить на:
HTML Code:
<input type="text" value="поиск" onfocus="this.value='';" name="query" class="textbox" tabindex="99"/>
Можно еще вот так сделать:
HTML Code:
<input type="text" value="поиск" onfocus="javascript:this.value='';" onblur="javascript:if(this.value==''){this.value='поиск'};" name="query" class="textbox" tabindex="99"/>
;)

Last edited by mff : 12-14-2010 at 11:23 PM.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 07:02 PM.


Powered by vBulletin® Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...