Redsign Posted December 12, 2011 Share Posted December 12, 2011 This CSS uses CSS3 transitions to animate the slider on the order form. It'll work in recent browsers, and fallback in older ones. Demo: https://redsign.co.uk/cart.php Add the following to the end of /templates/orderforms/slider/style.css : .ui-slider .ui-slider-range, .ui-slider .ui-slider-handle { -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } .sliderlabel { -webkit-transition: color 0.5s ease-in-out; -moz-transition: color 0.5s ease-in-out; -o-transition: color 0.5s ease-in-out; -ms-transition: color 0.5s ease-in-out; transition: color 0.5s ease-in-out; } You'll need to use the 'Slider' order form, set that in WHMCS Settings > Ordering. 0 Quote Link to comment Share on other sites More sharing options...
cpservr Posted December 14, 2011 Share Posted December 14, 2011 Nice,, i try it in my whmcs dev, and worked perfectly! thanks for your tip! 0 Quote Link to comment Share on other sites More sharing options...
FrostByte Posted December 18, 2011 Share Posted December 18, 2011 Very nice mod! 0 Quote Link to comment Share on other sites More sharing options...
nobody Posted December 20, 2011 Share Posted December 20, 2011 The delay is too long. it feels almost broken or like the script is halting. instead of .5 try .3 0 Quote Link to comment Share on other sites More sharing options...
Dual Hosts Posted April 29, 2012 Share Posted April 29, 2012 Thanks for sharing it with us, pretty cool. 0 Quote Link to comment Share on other sites More sharing options...
Redsign Posted July 9, 2012 Author Share Posted July 9, 2012 Just to let you know this still works with v5.1.2. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.