Closed tiberiucorbu closed 9 years ago
From the main doc :
Presumably one can understand that this code should work fine :
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JS Bin</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/dragdealer/0.9.8/dragdealer.min.js"></script> </head> <body> <div id="demo-simple-slider" class="dragdealer"> <div class="handle red-bar">drag me</div> </div> </body> </html>
new Dragdealer('demo-simple-slider');
Demo here http://jsbin.com/qepakijola/edit?html,js,output
But it doesn't, one needs also the style, so please point that out too!
Good point. I think it has more to do with the install README section than the demo page, though. Feel free to come up with a PR to update the instructions with CSS included. Thanks!
From the main doc :
Presumably one can understand that this code should work fine :
HTML :
JS
Demo here http://jsbin.com/qepakijola/edit?html,js,output
But it doesn't, one needs also the style, so please point that out too!