Monday, September 10, 2012

jQuery UI

Three ways of downloading or install jQuery UI :


1  default package:
You can download the jQuery UI 1.8.4 ( zip ~1 MB ) which contains the complete set of all jQuery UI 1.8 components and the Smoothness theme.
Just click http://jqueryui.com/download/jquery-ui-1.8.4.custom.zip
2 customize package :
You can download the customize package in which you can select the following option :
  • UI core
  • Interactions
  • Widgets
  • Effects
  • Theme
  • Version
After selecting these option you have to click the 'download ' button and you'll get a customized zip file containing everything you selected.
After downloading you'll get a zip containing the following files:
  • /css/
  • /development-bundle/
  • /js/
  • index.html
Adding jQuery UI on web page :
<link type="text/css" href="css/themename/jquery-ui-1.8.4.custom.css" 
      rel="Stylesheet" /> 
<script type="text/javascript" src="js/jquery-1.4.2.min.js">
</script>
<script type="text/javascript" src="js/jquery-ui-1.8.4.custom.min.js">
</script>

 
:
By adding google api url :
For example , we can add jQuery UI on web page as :
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js">
</script>

No comments:

Post a Comment