When I download the latest version of jQuery tipsy plugin (0.1.7) from jQuery plugins page, the folder contains many folders in it. Is jquery.tipsy.js (under the javascript folder) enough or should I put all of folders into my project?
When I download the latest version of jQuery tipsy plugin (0.1.7) from jQuery plugins
Share
No, the JavaScript file is not the only file needed. You should include all of the files found under the
srcfolder.Include the tipsy plugin after including jQuery with
scripttags in your page, either in theheador at the end of thebodytag. You may want to minify the plugin using any of the many online JavaScript minifier available.The plugin also requires a CSS file, which can be included using a
linkelement in thehead:The CSS file expect an image
tipsy.gifto be in the../images/directory. This can be edited to refer to the image in any other directory you want. After all that, you can use the plugin by calling the tipsy function as stated in the documentations: