Интегрировать с Ion.RangeSlider

More
6 years 7 months ago #7587 by Артем
Здравствуйте!

Можете подсказать пример правильной интеграции в фильтр слайдера с ползунками (range)?

Есть способ отправки значений в инпуты фильтра, но собственно фильтрация не происходит.

Вот пример: jsfiddle.net/IonDen/r5aox84v/

Please Log in to join the conversation.

More
6 years 7 months ago #7590 by JoomLine
Пример рабочего сайта укажите. В целом судя по примеру, который у вас приведен, достаточно в шаблон добавить

<div class="range-slider">
<input type="text" class="js-range-slider" value="" />
</div>
А поля от и до оберунть в див <div class="range-slider">
<input type="text" class="js-range-slider" value="" />
</div>
<div class="extra-controls">
</div>
а непосредственно к инпутам добавить классы js-input-from js-input-to

Please Log in to join the conversation.

More
6 years 7 months ago #7592 by Артем
Спасибо за ответ.

Значения передаются в инпуты, но сам фильтр не срабатывает. Фильтр работает только если вручную вводить значение в инпут (фильтр ajax).

Please Log in to join the conversation.

More
6 years 7 months ago #7593 by JoomLine
А не в режиме аякс срабатывает по кнопке?

Please Log in to join the conversation.

More
6 years 7 months ago #7594 by JoomLine
Скорей всего аякс событие не реагирует на изменения сделанные в поле скриптом.

Please Log in to join the conversation.

More
6 years 7 months ago #7595 by Артем
С кнопкой не хотелось бы делать.

А во втором случае есть решение?

Please Log in to join the conversation.

More
6 years 7 months ago #7596 by JoomLine
Для начала надо понять по кнопке значения правильные или нет :-) Если правильные то надо уже думать над аяксом.

Please Log in to join the conversation.

More
6 years 7 months ago #7597 by Артем
Да, с кнопкой все работает корректно

Please Log in to join the conversation.

More
6 years 7 months ago #7598 by JoomLine
Ссылка на страницу сайта есть где это все делается?

Please Log in to join the conversation.

More
6 years 7 months ago #7599 by Артем

Please Log in to join the conversation.

More
6 years 7 months ago #7600 by AlekVolsk
попробуйте альтернативные решения, например очень удобный и легкий refreshless.com/nouislider/
хорошо документирован, с кучей примеров

Please Log in to join the conversation.

More
6 years 7 months ago #7603 by Артем
Alek Volsk, спасибо за наводку, но как правильно настроить этот скрипт на работу с ajax я так и не понял.

Joomline Support, может есть какие мысли как настроить ajax для полученных значений от ползунков?

Please Log in to join the conversation.

More
6 years 7 months ago #7638 by JoomLine
Я признаться попробовал этот слайдер интегрировать в реинж)) и он у меня вообще не заработал ни под каким соусом :-)

Please Log in to join the conversation.

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • JL Content Fields Filter в настройках полей нет та...
    •   Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?  
    • In Modules Joomline / JL Content Fields Filter
    • JL Content Fields Filter в настройках полей нет та...
    • Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?
    • In Plugins Joomline / Other plugin
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.