Jump to content
xisto Community
Illustrious

How Do You Install Jquery Plugins?

Recommended Posts

I was searching on Google and I saw something about jQuery plugins that caught my eye. I was wondering how you would install jQuery plugins into your website. I searched it up on Google but was not able to find a tutorial on how to do this. I also tried doing it myself but failed. I was looking at these plugins:

TipTip jQuery - http://forums.xisto.com/no_longer_exists/
Captify - http://forums.xisto.com/no_longer_exists/
Aero Windows - http://forums.xisto.com/no_longer_exists/
Growl Notifications - http://jquery.com/

These plugins looked pretty neat and I thought that it would improve the visual pleasure of my website. Also, do you need prerequisite knowledge of jQuery to install these plugins as well?

Share this post


Link to post
Share on other sites

It depends on the plugin but usually they are just scripts written with jQuery that does what the documentation says. Once you download it, you unzip the contents to wherever you want to put it (whether it be in your website's directory or in a separate js directory or whatever), and you insert the correct js files using <script> tags in your HTML pages, and the CSS files as well if present.

Share this post


Link to post
Share on other sites

It's really easy to use a jQuery plugin, if it's a well written one, as it was said, you need to download it, exctract the archive to the js/ folder, for example:

mysite/js/jqueryplugin/

and in your html you should include it with the script tag:

<script type="text/javascript" src="js/jqueryplugin/plugin.js"></script>

Also, if it has css files, you need to include them too, just include the right path:

<link type="text/css" rel="stylesheet" href="js/jqueryplugin/css/style.css" />

Where it will be stored, you decide, the main thing that the path would be reachable, once everything included you can use the plugin like any javascript code, usually a plugin is a class with it's own methods which you use or a function with parameters. :unsure:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.