jQuery: The Write Less, Do More JavaScript Library

Installing jQuery to use jQuery UI

View: New views
3 Messages — Rating Filter:   Alert me  

Installing jQuery to use jQuery UI

by chqdzn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm trying to use the jQuery library.  I want to use the accordion and
tabs widgets for a class project.  I'm teaching myself javascript DOM
scripting and I found out about jQuery.

I have downloaded the jQuery UI downloads, but according to a post I
received on the jquery UI discussion board, I also need to download
jQuery.

I went to the http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
page where info on downloading and installing are listed.

I'm unclear on what to download for jQuery and exactly what is needed
to install it.

I am running Windows XP Professional.  I'm not running Java or UNIX
and I don't understand exactly what "make" or "ant" is.  I sorta
remember seeing "ant" in the eclipse software, but I'm not sure.  It
was a summer job and I was using UltraEdit to write HTML and CSS.

Could someone help me with this installation?  I don't understand the
directions at http://docs.jquery.com/Downloading_jQuery.

I only want to use the jQuery UI.  Is that possible?

Thanks.

Re: Installing jQuery to use jQuery UI

by Andrei Eftimie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

1. Download jQuery from http://jquery.com/
2. Download jQuery UI via the theme roller here (select only the
components that you need) http://jqueryui.com/download
3. Load them in your HTML file like this

<script type="text/javascript" src="path/to/jquery.js"></script>
<script type="text/javascript" src="path/to/jquery-ui.js"></script>

4. Use them

On Sun, Nov 1, 2009 at 8:07 AM, northernLights <chqdzn@...> wrote:

> Hi all,
>
> I'm trying to use the jQuery library.  I want to use the accordion and
> tabs widgets for a class project.  I'm teaching myself javascript DOM
> scripting and I found out about jQuery.
>
> I have downloaded the jQuery UI downloads, but according to a post I
> received on the jquery UI discussion board, I also need to download
> jQuery.
>
> I went to the http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
> page where info on downloading and installing are listed.
>
> I'm unclear on what to download for jQuery and exactly what is needed
> to install it.
>
> I am running Windows XP Professional.  I'm not running Java or UNIX
> and I don't understand exactly what "make" or "ant" is.  I sorta
> remember seeing "ant" in the eclipse software, but I'm not sure.  It
> was a summer job and I was using UltraEdit to write HTML and CSS.
>
> Could someone help me with this installation?  I don't understand the
> directions at http://docs.jquery.com/Downloading_jQuery.
>
> I only want to use the jQuery UI.  Is that possible?
>
> Thanks.
>



--
Andrei Eftimie
http://eftimie.com
+40 758 833 281

Punct
http://designpunct.ro

Re: Installing jQuery to use jQuery UI

by Charlie Tomlinson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jQuery UI is an extension/plugin of jQuery and relies on using the functions in jQuery.

when you download or look at source of any of the UI demos you'll see the UI script tags in the head. Always preceding those script tags is jQuery.js. The reason it must be preceding is that the UI functions will fail if they come before jQuery as the functions they call from within jQuery will not be avaialble

other than making sure you insert jQuery.js in head before making use of it, and path to that source is valid, the only other critical requirement is to use $(document).ready(function() (which has several variations on how it can be written) to wrap functions you call with jQuery

northernLights wrote:
Hi all,

I'm trying to use the jQuery library.  I want to use the accordion and
tabs widgets for a class project.  I'm teaching myself javascript DOM
scripting and I found out about jQuery.

I have downloaded the jQuery UI downloads, but according to a post I
received on the jquery UI discussion board, I also need to download
jQuery.

I went to the http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
page where info on downloading and installing are listed.

I'm unclear on what to download for jQuery and exactly what is needed
to install it.

I am running Windows XP Professional.  I'm not running Java or UNIX
and I don't understand exactly what "make" or "ant" is.  I sorta
remember seeing "ant" in the eclipse software, but I'm not sure.  It
was a summer job and I was using UltraEdit to write HTML and CSS.

Could someone help me with this installation?  I don't understand the
directions at http://docs.jquery.com/Downloading_jQuery.

I only want to use the jQuery UI.  Is that possible?

Thanks.