alloure59 Posted April 6, 2015 Share Posted April 6, 2015 Hello everyone, I would like to use function selectable of Jquery on a class CSS of category.css So in category.css I made this change .content_scene_cat .ui-selecting { background: #FECA40; } .content_scene_cat .ui-selected { background: #F39814; color: white; } In header tpl , I apply the function to the class: <script type="text/javascript"> var baseDir = '{$content_dir}'; var baseUri = '{$base_uri}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; $(function() {$("#category.content_scene_cat").selectable();}); </script> So, have I missed something ?? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now