On Tue, Jan 20, 2009 at 11:21 AM, Anton <[email protected]>wrote:
> > Hi! > > I just tried to find a document which explains how to use the jQuery > UI. Can't find any :( We've got documentation here http://docs.jquery.com/UI we're updating that over the next few days as we approach the 1.6 release. So, please excuse us (and tell us) if you find something that doesn't quite work. If you still need 1.5.3 docs, it's at urls like http://docs.jquery.com/UI/API/1.5.3/Draggable/draggable http://docs.jquery.com/UI/API/1.5.3/Tabs/tabs > So I tried to download jQuery (lots of very good tutorials, great > concepts, seemst to work like a charm) in v1.3 (stable). > > After that I downloaded jQuery UI (1.5.3 - stable) and tried the > datepicker. The JavaScript part is working, but it looked horrible. > Seems OK to me, I didn't downloaded a style jet :) The 1.5.3 release of jQuery UI (the latest stable release) is only compatible with jQuery 1.2.6. If you want to use jQuery 1.3 and UI together, you'll have to try the latest preview release of UI, 1.6rc5, which you can download here http://ui.jquery.com/ (top-right link, contains all code, default theme, demo files) or here http://ui.jquery.com/download (if you want a customized version containing only certain plugins) Notice there's a select box for which version you want, 1.5.3 or 1.6rc5. > > Than I downloaded the "Start" theme from the ThemeRoller (seems to > work for all versions because I can't find any selection for a > specific version there). > > As you can see: latest stable - latest stable - Start - I am very > carefully ;) Actually, ThemeRoller is set up right now to show off our latest wares :) so by default it will give you a 1.6rc5 theme. If you want a 1.5.3 theme, there's a link for that at the bottom of the left nav. > > I included the jquery and jquery-ui JavaScripts (can see them in > Firefox and the datepicker is working). > I included the ui.all.css and everything stays ugly as before :( > > In FireBug I can see a lot of the .ui-datepicker-* stuff and if I edit > that I can see the difference on the screen. But I never see any .ui- > widget or .ui-state or .ui-icon styles when I hover over the elements > of the datepicker (and I can change there anything to anything without > getting any different result in the browser). > > So: what am I missing? Make sure you link to the whole theme from ThemeRoller. The key files are ui.core.css ui.theme.css ui.{pluginname}.css where {pluginname} is each plugin you use. There's also a ui.allplugins.css that @imports all the ui.{pluginname}.css files, and even better a ui.all.css file that @imports ui.core.css, ui.theme.css, ui.allplugins.css. So it should be as simple as <link type="text/css" href="theme/ui.all.css" rel="stylesheet" /> >From what you've described, I'd guess you just have a version conflict between the UI you downloaded and the theme you downloaded. This should be a little clearer in a few days when 1.6 is finalized and is the latest stable release. Do let us know how you make out. - Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
