normal slider-custom.php slidebar disappears

5 years 9 months ago #4106 by Waarborg
slider-custom.php slidebar disappears was created by Waarborg
I'm using the slider-custom.php file for selecting prices in my travel website. When using the bar and shifting it from left to right or right to left the bar disappears.

Can you please help me? Thanks for your help. The website is Waarborgreizen

www.waarborgreizen.nl

Wil Linders


  • Posts: 6
  • Thank you received: 0

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in or Create an account to join the conversation.

    5 years 6 months ago - 5 years 6 months ago #4124 by Nana
    Replied by Nana on topic slider-custom.php slidebar disappears
    Hello,
    I've the same problem.

    This is the code before any click on the slider:
    <div id="slider-range" style="width:50%;margin:0px auto" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
    	<div class="ui-slider-range ui-widget-header ui-corner-all" style="left: 0%; width: 100%;"></div>
    	<span tabindex="0" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 0%;"></span>
    	<span tabindex="0" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 100%;"></span>
    </div>

    after a click the code change into this:
    <div style="margin: 0px auto; position: relative; overflow: hidden; height: 0px;">
    	<div id="slider-range" style="width: 50%; margin: -13px 0px 0px; overflow: hidden;" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
    	<div class="ui-slider-range ui-widget-header ui-corner-all" style="left: 12.6323%; width: 87.3677%;"></div>
    	<span tabindex="0" class="ui-slider-handle ui-state-default ui-corner-all ui-state-focus" style="left: 12.6323%;"></span>
    	<span tabindex="0" class="ui-slider-handle ui-state-default ui-corner-all" style="left: 100%;"></span></div>
    </div>

    Can you help me, please? How can I fix it? Thanks for your help.

    Solved:
    It's a mootools problem.
    I added this code to fix it.
    jQuery("#slider-range")[0].slide = null;


  • Posts: 1
  • Thank you received: 1

  • Gender: Unknown
  • Birthdate: Unknown
  • Last edit: 5 years 6 months ago by Nana.
    The following user(s) said Thank You: Waarborg

    Please Log in or Create an account to join the conversation.

    5 years 6 months ago #4126 by Waarborg
    Replied by Waarborg on topic slider-custom.php slidebar disappears
    Works for me as well!

    Thankx a lot!


  • Posts: 6
  • Thank you received: 0

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in or Create an account to join the conversation.

    Time to create page: 0.091 seconds