Add and the required css declarations
.dhtmlspin_layer { background:#FFFFFF; } .dhtmlspin_container {} .dhtmlspin_element { background: #C0C0C0; -moz-border-radius: 30px; /* Try to round it when possible */ -webkit-border-radius: 30px; border-radius: 30px; }
Then just create an Instance on the target element
var spinner = new DHTMLSpinner('spinnable'); spinner.startSpin();
The spinner can be rebound to another element at anytime
spinner.setTarget('otherspinnable');
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus