- Форум владельцев интернет-магазинов
- → Публикации yashma
Публикации yashma
83 публикаций создано yashma (учитываются публикации только с 05-Май 23)
#139716 Убрать Возможность Заказа Товара
Отправлено от yashma в 22 Май 2014 - 11:16 в Другое
MikDark (22 Май 2014 - 11:00) писал:
.price, .filter{display:none;}
работает. спасибо! Теперь еще убрать со страницы товара "НАЛИЧИЕ ТОВАРА"
#139570 Убрать Возможность Заказа Товара
Отправлено от yashma в 21 Май 2014 - 15:59 в Другое
1. убрать цены
2. убрать кнопку КУПИТЬ
3. убрать кнопку КОРЗИНА
4. убрать сортировку по цене, но оставить по названию и рейтингу(!)
5. убрать кнопку ДОБАВИТЬ К СРАВНЕНИЮ
т.е. чтобы сайт был просто информационным каталогом.
Заранее очень благодарна за ответ!
ой-ой-ой! Не в тот раздел написала! Шаблон ВЕСНА! Прошу администратора перенести тему в соответствующий раздел! Спасибо!
#100386 Выпадающий Блок С Тестом
Отправлено от yashma в 05 Ноябрь 2013 - 09:18 в Изменение общей стилистики
#100385 Как Сделать Такой Разворачивающийся Текст?
Отправлено от yashma в 05 Ноябрь 2013 - 09:17 в Главная
Вставляем в HEAD:
<script type="text/javascript">[/b] [b]/*********************************************** * Contractible Headers script- © Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for legal use. Last updated Mar 23rd, 2004. * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/[/b] [b]var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off) var collapseprevious="no" //Collapse previously open content when opening present? (yes/no)[/b] [b]if (document.getElementById){ document.write('<style type="text/css">') document.write('.switchcontent{display:none;}') document.write('</style>') }[/b] [b]function getElementbyClass(classname){ ccollect=new Array() var inc=0 var alltags=document.all? document.all : document.getElementsByTagName("*") for (i=0; i<alltags.length; i++){ if (alltags[i].className==classname) ccollect[inc++]=alltags[i] } }[/b] [b]function contractcontent(omit){ var inc=0 while (ccollect[inc]){ if (ccollect[inc].id!=omit) ccollect[inc].style.display="none" inc++ } }[/b] [b]function expandcontent(cid){ if (typeof ccollect!="undefined"){ if (collapseprevious=="yes") contractcontent(cid) document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none" } }[/b] [b]function revivecontent(){ contractcontent("omitnothing") selectedItem=getselectedItem() selectedComponents=selectedItem.split("|") for (i=0; i<selectedComponents.length-1; i++) document.getElementById(selectedComponents[i]).style.display="block" }[/b] [b]function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; }[/b] [b]function getselectedItem(){ if (get_cookie(window.location.pathname) != ""){ selectedItem=get_cookie(window.location.pathname) return selectedItem } else return "" }[/b] [b]function saveswitchstate(){ var inc=0, selectedItem="" while (ccollect[inc]){ if (ccollect[inc].style.display=="block") selectedItem+=ccollect[inc].id+"|" inc++ }[/b] [b]document.cookie=window.location.pathname+"="+selectedItem }[/b] [b]function do_onload(){ uniqueidn=window.location.pathname+"firsttimeload" getElementbyClass("switchcontent") if (enablepersist=="on" && typeof ccollect!="undefined"){ document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0" firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load if (!firsttimeload) revivecontent() } }[/b] [b]if (window.addEventListener) window.addEventListener("load", do_onload, false) else if (window.attachEvent) window.attachEvent("onload", do_onload) else if (document.getElementById) window.onload=do_onload[/b] [b]if (enablepersist=="on" && document.getElementById) window.onunload=saveswitchstate[/b] [b]</script>
Вставляем, где необходимы блоки с выпадающим текстом:
<h3 onclick="expandcontent('sc1')" style="cursor:hand; cursor:pointer">Выпадающий блок 1</h3> <div id="sc1" class="switchcontent">бла-бла-бла.</div> <h3 onclick="expandcontent('sc2')" style="cursor:hand; cursor:pointer">Выпадающий блок 2</h3> <div id="sc2" class="switchcontent">бла-бла-бла</div> <h3 onclick="expandcontent('sc3')" style="cursor:hand; cursor:pointer">Выпадающий блок 3</h3> <div id="sc3" class="switchcontent">бла-бла-бла.</div>
#100378 Выпадающий Блок С Тестом
Отправлено от yashma в 05 Ноябрь 2013 - 08:55 в Изменение общей стилистики
(Рекбес) (04 Ноябрь 2013 - 16:00) писал:
<!-- Блок описания вариантов оплаты --> <a onclick="$('.textHideBlock').toggle();return(false);" href="#" style="text-decoration: none;"> <h5>Мы принимаем оплату</h5></a> <div class="textHideBlock" style="display:none;"> <li>1.Qiwi</li> <li>2.PayPal</li> <li>3.Western Union</li> <li>4.Банковский перевод</li> <li>5.Пополнение на баланс телефона<br>Самый простой способ</li> </div>Просто вставь этот код,а информацию отредактируй под себя.
сделала так, но при клике открывается не один, нужный блок, а ВСЕ блоки сразу!
ne_yana (04 Ноябрь 2013 - 15:51) писал:
по этой инструкции вообще НИЧЕГО не получилось.
Вот http://закваски-нн.р...e/Приготовление
плюс! Не поддается редактированию вообще...
#100277 Выпадающий Блок С Тестом
Отправлено от yashma в 04 Ноябрь 2013 - 16:06 в Изменение общей стилистики
#100268 Выпадающий Блок С Тестом
Отправлено от yashma в 04 Ноябрь 2013 - 15:34 в Изменение общей стилистики
http://blog.drunkart...opdowntext.html
по их инструкции у меня не работает - блоки сразу грузятся открытые и вообще нет открывания!
#100109 Обновление Остатков
Отправлено от yashma в 03 Ноябрь 2013 - 19:31 в Самое разное
#99991 Вывод Данных В Excel (Счет, Счет-Фактура, Торг-12, Товарно-Транспортная Накла...
Отправлено от yashma в 02 Ноябрь 2013 - 18:27 в Бэк-офис. Заказы
#99096 Продам Интернет Магазин Текстиля
Отправлено от yashma в 29 Октябрь 2013 - 19:40 в Магазины
- Форум владельцев интернет-магазинов
- → Публикации yashma
- Privacy Policy