From the "should be simple, but..." files: Trying to get started with jQuery UI. Went to the site, used their custom builder thingy to assemble the parts I need, made myself a custom theme using the Theme Roller, downloaded the zip file thus produced, unzipped it on my local drive. Ok, so I have 37 folders, 311 files, and a total of 2.4 MB. Ain't no way in hell all this is going on the server. What parts do I need to put there?
jquery-ui-1.8.custom.css
, 'images' subfolder with 12 .png imagesdemos.css
, index.html
, plus 18 subfolders, but I'm guessing "not needed"jquery-1.4.2.min.js
and jquery-ui-1.8.custom.min.js
Also, the file structure. Our server is set up something like this:
As far as I can tell, the jQuery css files assume that (1) each theme is in its own folder, and (2) each folder has its own images subfolder. How can I convince it otherwise? i.e. put the necessary .js files in the 'js' folder, the .css files in the 'css' folder, and the images in the 'images' folder?
jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.
UI stands for User interface, It is a set of plug-ins for jQuery that adds new functionalities to the jQuery core library. The set of plug-ins in JqueryUI includes interface interactions, effects, animations, widgets, and themes built on top of jQuery JavaScript Library.
I usually copy jquery-ui-1.8.custom.css
and jquery-ui-1.8.custom.min.js
along with the images to my server. You'll also need the jquery-1.4.2.min.js
file if you do not already have it on your server. The rest I do not use.
If you put the images within your images directory you do not need to change anything.
You really do not need anything in development bundle. It contains a bunch of demos and all the pre-built themes if you want to experiment with them.
This link contains more info on getting started with jQuery UI: http://learn.jquery.com/jquery-ui/getting-started/
There's no problem in putting the css and js files separated, as you will include them in your html anyway.
For the images, though, you will have to modify the css. Edit the css file and find the references to images like
background: url(path/to/image.jpg)
and change it to the appropiate location
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With