Установка Умного Поиска Яндекс
#1
Отправлено 25 Апрель 2015 - 12:42
Куда установить код? и вообще возможно такое? Любой сайт просто обязан иметь умный поиск)
<div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://yandex.ru/sit...#39;:'Поиск по mobilefanat.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2212308,'webopt':false,'websearch':false,'input_fg':'#000000','input_bg':'#FFFFFF','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':null,'input_placeholderColor':'#000000','input_borderColor':'#7F9DB9'}"><form action="http://yandex.ru/sitesearch" method="get" target="_self"><input type="hidden" name="searchid" value="2212308"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script>
#2
Отправлено 27 Апрель 2015 - 11:12
Ильяc (25 Апрель 2015 - 12:42) писал:
Куда установить код? и вообще возможно такое? Любой сайт просто обязан иметь умный поиск)
<div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://yandex.ru/sit...#39;:'Поиск по mobilefanat.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2212308,'webopt':false,'websearch':false,'input_fg':'#000000','input_bg':'#FFFFFF','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':null,'input_placeholderColor':'#000000','input_borderColor':'#7F9DB9'}"><form action="http://yandex.ru/sitesearch" method="get" target="_self"><input type="hidden" name="searchid" value="2212308"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script>
#4
Отправлено 30 Апрель 2015 - 19:37
Меняю в следующем коде: font-family:"Futura,Georgia,Arial" но всеравно один и тот же шрифт и еще font-weight не реагирует
.nivo-caption h3 {margin:-17px 0 0 0;padding:0;font-family:"Futura,Georgia,Arial";font-size: 22px;color:#2e2e2e;text-transform:none;letter-spacing:-1px;}
#5
Отправлено 01 Май 2015 - 09:39
Ильяc (30 Апрель 2015 - 19:37) писал:
Меняю в следующем коде: font-family:"Futura,Georgia,Arial" но всеравно один и тот же шрифт и еще font-weight не реагирует
.nivo-caption h3 {margin:-17px 0 0 0;padding:0;font-family:"Futura,Georgia,Arial";font-size: 22px;color:#2e2e2e;text-transform:none;letter-spacing:-1px;}
Попробуйте в конец main.css добавить
div#tmnivoslider .nivo-caption h2 { Стили } div#tmnivoslider .nivo-caption h3 { Стили } div#tmnivoslider .nivo-caption h4 { Стили } div#tmnivoslider .nivo-caption h5 { Стили }
#6
Отправлено 01 Май 2015 - 11:15
Danil (01 Май 2015 - 09:39) писал:
Попробуйте в конец main.css добавить
div#tmnivoslider .nivo-caption h2 { Стили } div#tmnivoslider .nivo-caption h3 { Стили } div#tmnivoslider .nivo-caption h4 { Стили } div#tmnivoslider .nivo-caption h5 { Стили }
Работает. С поиском мне все еще не ответили, чуть выше был вопрос
#8
Отправлено 01 Май 2015 - 15:22
Danil (01 Май 2015 - 12:25) писал:
<div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://yandex.ru/sit...#39;:'Поиск по mobilefanat.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2212308,'webopt':false,'websearch':false,'input_fg':'#000000','input_bg':'#FFFFFF','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':null,'input_placeholderColor':'#000000','input_borderColor':'#7F9DB9'}"><form action="http://yandex.ru/sitesearch" method="get" target="_self"><input type="hidden" name="searchid" value="2212308"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script>
#9
Отправлено 01 Май 2015 - 15:33
Ильяc (01 Май 2015 - 15:22) писал:
<div id="search_block_top"> <form action="http://{NET_DOMAIN}/search" method="get" id="searchbox"> <input class="search_query" type="text" id="search_query_top" name="q" value="Поиск" onfocus="if(this.value=='Поиск')this.value='';" onblur="if(this.value=='')this.value='Поиск';"> <a href="javascript:document.getElementById('searchbox').submit();">Search</a> <input type="hidden" name="orderby" value="position"> <input type="hidden" name="orderway" value="desc"> </form> </div>и замените на
<div id="search_block_top"> <div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://yandex.ru/sitesearch%27,%27arrow%27:false,%27bg%27:%27transparent%27,%27fontsize%27:12,%27fg%27:%27#000000%27,%27language%27:%27ru%27,%27logo%27:%27rb%27,%27publicname%27:%27Поиск;Поиск по mobilefanat.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2212308,'webopt':false,'websearch':false,'input_fg':'#000000','input_bg':'#FFFFFF','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':null,'input_placeholderColor':'#000000','input_borderColor':'#7F9DB9'}"><form action="http://yandex.ru/sitesearch" method="get" target="_self"><input type="hidden" name="searchid" value="2212308"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script> </div>Так же в конец main.css добавьте
input[type="submit"] { height: 50px; width: 57px; margin-left: 1px; border: none; background: none; } input[type="search"] { height: 48px; width: 262px; border: none; }
#11
Отправлено 06 Май 2015 - 01:40
<div class="login">
перед ним вставьте:
<div class="may"><img src="ссылка на картинку" alt="" /></div>
в main.css перед:
.login { color: #333333; font-size: 11px; position: absolute; right: 20px; text-decoration: none; top: 120px; }
вставьте:
.may { left: 300px; position: absolute; top: 50px; }
#12
Отправлено 06 Май 2015 - 09:35
Vaccina (06 Май 2015 - 01:40) писал:
<div class="login">
перед ним вставьте:
<div class="may"><img src="ссылка на картинку" alt="" /></div>
в main.css перед:
.login { color: #333333; font-size: 11px; position: absolute; right: 20px; text-decoration: none; top: 120px; }
вставьте:
.may { left: 300px; position: absolute; top: 50px; }
Спасибо! Помогите мне исправить отображение сайта в браузере internrt explore. В другой теме уже 3-4 дня пытаюсь достучаться до поддержке. Мне помогали, но опять молчок. Ссылка на тему: http://forum.storela...ernet-explorer/
#14
Отправлено 07 Май 2015 - 10:58
"Не работает кнопка "отправить" когда пытаюсь оставить заявку. При отсутствии товара появляется кнопка "Оставить заявку" нажимаю, форма появляется, но после заполнения данных нажимаю "отправить" и ничего не происходит.
#15
Отправлено 07 Май 2015 - 19:35
Ильяc (07 Май 2015 - 10:58) писал:
"Не работает кнопка "отправить" когда пытаюсь оставить заявку. При отсутствии товара появляется кнопка "Оставить заявку" нажимаю, форма появляется, но после заполнения данных нажимаю "отправить" и ничего не происходит.
Связь с администрацией.png
#17
Отправлено 13 Май 2015 - 21:31
- http://i1.tvoi-tel.r...-3-gt-s7272.jpg (не указан срок действия)
- как исправить и где заранее спс
#18
Отправлено 14 Май 2015 - 03:02
#19
Отправлено 16 Май 2015 - 02:57
Vaccina (14 Май 2015 - 03:02) писал:
#20
Отправлено 22 Май 2015 - 16:50
Помогите прикрепить поиск яндекса
<div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://www.toolb.ru....#39;:'Найти инструмент','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2220162,'webopt':false,'websearch':false,'input_fg':'#000000','input_bg':'#ffffff','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':'Найти инструмент','input_placeholderColor':'#000000','input_borderColor':'#999999'}"><form action="http://yandex.ru/sitesearch" method="get" target="_self"><input type="hidden" name="searchid" value="2220162"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script>
Вот сюда...
<!-- Поиск -->
<div id="search">
<div id="poisk"></div>
<div style="position:absolute;">
<form action="http://{NET_DOMAIN}/search" id="searchform" method="get">
<div>
<input type="text" value="{% IF SEARCH_QUERY %}{SEARCH_QUERY}{%ELSE%}Найти инструмент...{%ENDIF%}" onblur="this.value=(this.value=='') ? 'Найти инструмент...' : this.value;" onfocus="this.value=(this.value=='Найти инструмент...') ? '' : this.value;" id="s" class="search_box alignleft" name="q" />
<input type="image" class="submit alignright" src="{ASSETS_IMAGES_PATH}search_but.gif" />
<div class="clr"></div>
</div>
</form>
</div>
</div>
<!-- end Поиск -->
Спаисбо!
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных