olie480 Posted July 2, 2011 Share Posted July 2, 2011 I've been messing around with the slider order form template, and wanted a bit smoother slider, so here's how to do it. Open up main.js in the folder templates/orderforms/slider/js Add this RIGHT AFTER the top DOCUMENT READY function. jQuery('#productslider').slider({ range: "min", animate: true, value: 1, min: 0, max: 9, step: 1, orientation: "horizontal" }); SO IT SHOULD LOOK LIKE THIS: jQuery(document).ready(function(){ jQuery("#existingcust").click(function(){ if (jQuery(this).hasClass('active')!=true) { jQuery(".signuptype").removeClass('active'); jQuery(this).addClass('active'); jQuery("#signupfrm").fadeToggle('fast',function(){ jQuery("#loginfrm").fadeToggle('fast'); }); jQuery("#custtype").val("existing"); } }); jQuery('#productslider').slider({ range: "min", animate: true, value: 1, min: 0, max: 9, step: 1, orientation: "horizontal" }); This is to modify it right out of the box. If you managed to edit the code previously, the same rules should apply. Let me know if you have any questions. 0 Quote Link to comment Share on other sites More sharing options...
Manchester Web Hosting Posted September 4, 2012 Share Posted September 4, 2012 thanks for the quick hack 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted October 25, 2012 Share Posted October 25, 2012 thanks for the hack. Will give it a shot. 0 Quote Link to comment Share on other sites More sharing options...
concerto49 Posted November 19, 2012 Share Posted November 19, 2012 Didn't like the original slider. This looks interesting. Going to revisit the slider now. Thanks. 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.