(Untitled)

Aug 14, 2006 13:47

Скажите как сделать строку поиска на сайте с закругленными углами

Leave a comment

clops August 14 2006, 10:01:24 UTC
работать будет только на маке

[input type=search]

http://weblogs.mozillazine.org/hyatt/archives/2004_07.html#005890

Reply

clops August 14 2006, 10:02:41 UTC
конечно, можно всех «обмануть»

http://paularmstrongdesigns.com/weblog/rounded-search-inputs

Reply

yulika August 14 2006, 10:07:17 UTC
ых, кто б еще перевел.... ладно будем разбираться)))) я правильно поняла, что если сделать по второй ссылке, то будет работать на PC?

Reply

clops August 14 2006, 10:09:11 UTC
да - но не будет тех «приятных функций» которые даёт мак ;)

Reply

yulika August 14 2006, 10:10:18 UTC
какие такие приятные функции????

Reply

clops August 14 2006, 10:13:49 UTC
ну запоминание поисковых запросов, их очистка, контексты поиска и пр.

Reply

yulika August 14 2006, 10:15:10 UTC
тогда скажи, есть ли мне смысл заморачиваться с такой строкой поиска?

Reply

clops August 14 2006, 10:16:53 UTC
если только из эстетических соображений ;) я везде просто type=search указываю и всё чики :)) к кого Мак - те рады, у кого нет - те не замечают ;) эту матрицу они ещё не пробовали

Reply

yulika August 14 2006, 10:17:49 UTC
понятно, спасибо большое))))

Reply

clops August 14 2006, 10:15:59 UTC
«
...
The incremental attribute can be used to control whether or not the search is performed as you type.

The placeholder attribute can be used to set the greyed placeholder text in the control.

The autosave attribute allows you to specify an autosave name for your search results in the dropdown. What's cool about the autosave is that it's global, which means that two Web sites could put up a search field with an autosave name of google and then they would share the search results. (Since the actual result values are not accessible to the page there is no privacy violation.)

The results attribute allows you to specify how many results should be displayed in the dropdown.

The search DOM event fires at the precise time the search should be performed and obeys the heuristic for the control, so you don't have to trap key and click events at all. You can use the onsearch attribute on the control to respond when the search happens.
...
»

Reply

frst August 14 2006, 10:51:17 UTC
в опере косячит
http://remont.blizko.ru/ я вот так делал

Reply

clops August 14 2006, 10:53:42 UTC
в сафари косячит ;)

Reply

frst August 14 2006, 11:00:04 UTC
ха ;)
мде...

Reply

yulika August 14 2006, 11:19:12 UTC
зато в firefox нормально работает)))))))

Reply

frst August 14 2006, 11:47:10 UTC
да в топку это ваше фаерфогз :)

Reply


Leave a comment

Up