Issues

ZF-11969: ZendX_JQuery_View_Helper_Slider stylesheet dose not work correctly if value argment supplied

Description

<?php echo $this->layout()->content; ?>

Comments

I think so.

Please make a short test:

Change line 95 in {{library/ZendX/JQuery/View/Helper/Slider.php}} from:


to:

If the error still exists, then go to http://bugs.jqueryui.com

And please give a feedback here. Thanks!

Thank you for comment.

I've Changed library/ZendX/JQuery/View/Helper/Slider.php div to a tag, but still not work.

the output html is



So, I've tried to change this javascript


$(document).ready(function() {
            // $("#slider-slider").slider({"min":0,"max":100,"step":10,"values":[10],"range":"min"});
            $("#slider-slider").slider({"min":0,"max":100,"step":10,"value":10,"range":"min"});
});

"values" to "value", this works fine.

So, I think if only one value supplied, the 'value' field should not be arrayed. (and I guess that class="ui-slider-handle" should not be printed by PHP, because this is already defined by jQuery UI)

How do you think about that?

Thanks.

Hi Takayuki, I will test it.

Thanks for your feedback and for the code snippets.