Hi, I'm currently prototyping a site with umbraco (my first foray into umbraco) and would like to use the jquery ui plugin. I noticed that /umbrac_client/ui/ contains jqueryui.js, as it does jquery, so I figure this should be supported. I have jquery working correctly, using xslt and umbraco.library.AddJquery() to add a script reference to jquery to my master page.
How do I correctly reference jqueryui.js included with umbraco? I don't see a corresponding AddJqueryUi() method in the library class.
I've tried placing jquery and jqueryui in the scripts folder and then manually creating script elements to these (ensuring I have comptiability versions of jquery (1.4.1) and jqueryui (1.8), but that doesn't work. At the moment, all I'm trying to do is display a dailog with jqueryui.
Using jqueryui with Umbraco sites
Hi, I'm currently prototyping a site with umbraco (my first foray into umbraco) and would like to use the jquery ui plugin. I noticed that /umbrac_client/ui/ contains jqueryui.js, as it does jquery, so I figure this should be supported. I have jquery working correctly, using xslt and umbraco.library.AddJquery() to add a script reference to jquery to my master page.
How do I correctly reference jqueryui.js included with umbraco? I don't see a corresponding AddJqueryUi() method in the library class.
I've tried placing jquery and jqueryui in the scripts folder and then manually creating script elements to these (ensuring I have comptiability versions of jquery (1.4.1) and jqueryui (1.8), but that doesn't work. At the moment, all I'm trying to do is display a dailog with jqueryui.
Any ideas or pointers?
can I close this? I realised my scripts reference to jquery was after my jqueryui reference. noob mistake :)
You should look at using Client Dependency to manage your script and CSS files (also, it'll be included in Umbraco 4.1) clientdependency.codeplex.com/
is working on a reply...