You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

tools conflicts with jquery-ui Created Sep 6, 2009

This thread is solved

Views: 828     Replies: 4     Last reply Oct 16, 2009  
You must login first before you can use this feature

julienbri

Posts: 4

Registered:
Sep 4, 2009

tools conflicts with jquery-ui

Posted: Sep 6, 2009

Hi,

I am using functions from both jquery-ui and tools.
In the header of my pages, I have the following:

	<script type="text/javascript" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
	<script src="http://cdn.jquerytools.org/1.1.0/jquery.tools.min.js"></script>

The problem is that when I keep the header as above, some functions of jquery-ui are not found (i.e. datepicker).
And when I switch both libraries and put tools before query-ui, some functions of tools are not found(i.e. tabs)

Any good practices to fix this?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1656

Registered:
Nov 16, 2007

» tools conflicts with jquery-ui

Posted: Sep 6, 2009

Reply to: tools conflicts with jquery-ui, from julienbri
Both libraries have jQuery.tabs in them. Please use just one of those to avoid conflicts.

brad_edelman

Posts: 1

Registered:
Sep 23, 2009

» » tools conflicts with jquery-ui

Posted: Sep 23, 2009

Reply to: » tools conflicts with jquery-ui, from tipiirai
I can see that if there are conflicts that you can use only jquery-ui or jquery tools and not both.

However, do you have a suggestion for which other library to use for the features that are in jquery-ui but not in jquery tools? julienbri mentions the datepicker, for example. Do you have a recommended calendar widget?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1656

Registered:
Nov 16, 2007

» » » tools conflicts with jquery-ui

Posted: Sep 24, 2009

Reply to: » » tools conflicts with jquery-ui, from brad_edelman
you can use both libraries together. just don't include UI tabs (or Tools tabs) to avoid conflicts.

haven't encountered alternative to UI datepicker but I never really searched for one.

degenerate

Posts: 146

Registered:
Sep 19, 2008

» » » » tools conflicts with jquery-ui

Posted: Oct 16, 2009

Reply to: » » » tools conflicts with jquery-ui, from tipiirai
This one is pretty basic; I've used it instead of UI because UI is bloated:

http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePicker.html