How to convert these code to jquery plugin?
Asked
Active
Viewed 64 times
-5
-
possible duplicate of [How to create a jQuery plugin with methods?](http://stackoverflow.com/questions/1117086/how-to-create-a-jquery-plugin-with-methods) – Danubian Sailor May 31 '13 at 16:29
1 Answers
3
(function($){
$.fn.mySlider = function(parameters){
// your code here
}
})(jQuery)
maximkou
- 5,034
- 1
- 17
- 40