You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I Use JQRangesilder plug-in,at first,I can dynamic set defaultvalue and bounds,position of defaultvalue is right, however,while ,in ipad, the dateslider not work,so,I Introduce some js files,like these:<script src="/../../../jQRangeSliderMouseTouch.js" type="text/javascript"></script>
in ipad, the date slider can work,but the position of defaultValue is wrong。
how to set the options ? $.widget("ui.dateRangeSlider", $.ui.rangeSlider, {
options: {
//bounds: {min: new Date(2010,0,1).valueOf(), max: new Date(2012,0,1).valueOf()},
//defaultValues: {min: new Date(2010,1,11).valueOf(), max: new Date(2011,1,11).valueOf()}
bounds:{min:null,max:null},//tempMinBound,tempMaxBound,defaultMaxValue,defaultFromDate
//defaultValues:{min:null,max:getLastDay(parseInt(new Date().getFullYear()),new Date().getMonth()+1)}
defaultValues:{min:null,max:getLastDay(parseInt(CurrentYear),CurrentMonth)}//getLastDay(parseInt(CurrentYear),CurrentMonth)
},
Thanks
A developer
The text was updated successfully, but these errors were encountered:
On Tue, Nov 17, 2015 at 10:05 AM, Seamless2014 [email protected]
wrote:
Hello,
I Use JQRangesilder plug-in,at first,I can dynamic set defaultvalue and
bounds,position of defaultvalue is right, however,while ,in ipad, the
dateslider not work,so,I Introduce some js files,like these:
in ipad, the date slider can work,but the position of defaultValue is
wrong。
how to set the options ? $.widget("ui.dateRangeSlider", $.ui.rangeSlider, {
options: {
//bounds: {min: new Date(2010,0,1).valueOf(), max: new
Date(2012,0,1).valueOf()},
//defaultValues: {min: new Date(2010,1,11).valueOf(), max: new
Date(2011,1,11).valueOf()}
Hello,
<script src="/../../../jQRangeSliderDraggable.js"></script> <script src="/../../../jQRangeSliderHandle.js"></script> <script src="/../../../jQRangeSliderBar.js"></script> <script src="/../../../jQRangeSliderLabel.js"></script> <script src="/../../../jQRangeSlider.js"></script>I Use JQRangesilder plug-in,at first,I can dynamic set defaultvalue and bounds,position of defaultvalue is right, however,while ,in ipad, the dateslider not work,so,I Introduce some js files,like these:<script src="/../../../jQRangeSliderMouseTouch.js" type="text/javascript"></script>
<script src="/../../../jQDateRangeSliderHandle.js"></script> <script src="/../../../jQDateRangeSlider.js"></script>
the position of defaultvalue is not right,
please look at this link:
http://www.mlsensight.com/heatmap/crdev/drawCharts_touch.html?c=RG91Z2xhcw==&m=MzI=&sc=MTAwMTQsMTAwMTN8MTAwMTEs&mk=U1BMUE1B&tp=Y291bnR5&istp=MA==&vtmark=MA==&slc=MQ==&sLb=MQ==&tk=&cd=&sT=MQ==&sl=MQ==&t=MTI=&SelectYear=2015&SelectMonth=11&pc=MA==&isSendEmail=MA==&uid=R2VvamV0&stack=1&isTool=MQ==&ishideicon=1&selectedma=MA==&tws=&twe=&isshareembed=MA==&isshowmom=MA==&isshareori=MA==&isauto=MQ==&wd=OTMw&ht=Mzcw
in ipad, the date slider can work,but the position of defaultValue is wrong。
$.widget("ui.dateRangeSlider", $ .ui.rangeSlider, {
how to set the options ?
options: {
//bounds: {min: new Date(2010,0,1).valueOf(), max: new Date(2012,0,1).valueOf()},
//defaultValues: {min: new Date(2010,1,11).valueOf(), max: new Date(2011,1,11).valueOf()}
bounds:{min:null,max:null},//tempMinBound,tempMaxBound,defaultMaxValue,defaultFromDate
//defaultValues:{min:null,max:getLastDay(parseInt(new Date().getFullYear()),new Date().getMonth()+1)}
defaultValues:{min:null,max:getLastDay(parseInt(CurrentYear),CurrentMonth)}//getLastDay(parseInt(CurrentYear),CurrentMonth)
},
Thanks
A developer
The text was updated successfully, but these errors were encountered: