Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • grazer 10 posts 31 karma points
    Apr 07, 2010 @ 01:55
    grazer
    0

    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?

  • grazer 10 posts 31 karma points
    Apr 07, 2010 @ 02:19
    grazer
    1

    can I close this?  I realised my scripts reference to jquery was after my jqueryui reference.  noob mistake :)

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Apr 07, 2010 @ 05:09
    Aaron Powell
    0

    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/

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies