Показать сообщение отдельно
Старый 25.08.2010, 16:33   #1
css_ufa
Новенький
 
Регистрация: 13.08.2010
Адрес: Уфа, РБ
Сообщений: 21
Отправить сообщение для css_ufa с помощью ICQ Отправить сообщение для css_ufa с помощью Skype™
Post Всплывающее окно для форма Поиска

Всем привет. Есть форма поиска:
Код HTML:
<form id="searchform"  method="post" action="">
<fieldset>
	<input type="hidden" value="0" name="tx_indexedsearch[_sections]" />
	<input type="hidden" value="_" name="tx_indexedsearch[_freeIndexUid]" />
	<input type="hidden" value="0" name="tx_indexedsearch[pointer]" />
	<input type="hidden" value="" name="tx_indexedsearch[ext]" />
	<input type="hidden" value="1" name="tx_indexedsearch[type]" />
	<input type="hidden" value="0" name="tx_indexedsearch[defOp]" />
	<input type="hidden" value="-1" name="tx_indexedsearch[media]" />
	<input type="hidden" value="rank_flag" name="tx_indexedsearch[order]" />

	<input type="hidden" value="flat" name="tx_indexedsearch[group]" />
	<input type="hidden" value="-1" name="tx_indexedsearch[lang]" />
	<input type="hidden" value="0" name="tx_indexedsearch[desc]" />
	<input type="hidden" value="10" name="tx_indexedsearch[results]" />

<input id="searchinput" value="" name="tx_indexedsearch[sword]" onblur="if (value == '') {value='поиск по сайту'}" onfocus="if (value=='поиск по сайту') {value =''}" accesskey="s" />
<input id="searchsubmit" type="submit" value="Найти" name="tx_indexedsearch[submit_button]" type="submit" />
</fieldset>
</form>
Хочу сделать:
1. Вылезало всплывающее окно с подсказкой если ничего не введено: "Ошибка"
2. Когда выходить результат - еще показывается расширенный поиск, который на дивы ложится остальные.

Если кто-то реализовал - помогите - буду благодарен

вообще думаю что будет блокирующее свойство, к примеру: "if=0" то выходит всплывающее окно... Вот. Спасибо)
css_ufa вне форума   Ответить с цитированием