JamyGolden / PlusSlider

A very agnostic jQuery content slider/fader
http://css-plus.com/examples/plugins/PlusSlider/
MIT License
30 stars 12 forks source link

Make PlusSlider accessible via the jQuery object (a la jQuery UI widgets) #15

Closed bsweeney closed 10 years ago

bsweeney commented 11 years ago

It would be convenient if, instead of having to create a global variable and assign the PlusSlider object to it, the PlusSlider object extended the native jQuery object. I'm thinking functionality similar to how the jQuery UI widgets extend the jQuery object such that once you instantiate them you can call the widget method on the results of a jQuery select, e.g. $('.myslider').plusSlider('toSlide',3);

JamyGolden commented 11 years ago

Hey. Thanks for the input and yeah that's a great idea, I'll add that to the top of my PlusSlider todo list.

jordanlev commented 11 years ago

fwiw, I agree this would be a great feature

JamyGolden commented 10 years ago

It may be a year later, but I've just added this functionality. Let me know if you run into any bugs or if you'd like any other features.