On Aug 28, 1:04 pm, "Richard D. Worth" <[email protected]> wrote: > > Again, I think this may be because you failed to download UI Dialog?
Thanks, yes, it was just a little confusing, at least for me. I guess I didn't fully understand what was meant by "module" -- essentially, a separate JS file. The jQueryUI site takes a different approach it seems from the jQuery site, and there's lots of different jargon specific to jQueryUI that I should commit to memory. Once I figured out that I needed an additional file (and downloaded it), everything is working as expected. > > Found the "getting started" page here: > >http://jqueryui.com/docs/Getting_Started > > > Jumped to the section "After downloading: Intro to using jQuery UI". > > It suggests there should be an index.html in the root directory. There > > is not. > > Thanks for finding this bug. I created a ticket for it here > > http://dev.jqueryui.com/ticket/4811 > > Sorry we didn't find it first. It looks like we don't include the index.html > page when you've only selected UI Core. Normally this index page shows a > preview of each widget you've selected. If you haven't selected any plugins, > there are no widgets to show. But in any case, we should have an index.html, > since the guide mentions one. That's why I added the ticket above. Yes, I did notice that after I included the Dialog module, the index page appeared. Perhaps there should be some short & sweet demos for core? A "everything is working, here's a few things you can do..." type thing. Just throwing that out there. > If you made it to ui.core.js, you made it to a file that's intended for > development purposes. I was using the dev versions because I am still prototyping at this point, and the individual files help for many reasons (easier to debug, easier to separate what is required/optional, and just generally easier to keep a handle on what scripts I have running). > This may be a simple case where the documentation made it seem harder than > it really is. The download builder has all the dependency logic built-in. If > you go to the download builder and all items are checked, but you only want > dialog, click 'Deselect all components', then click Dialog. It will > automatically check UI Core as a required dependency. If you want your > dialog to be draggable and resizable, you'll have to check those yourself, > as those are optional. The development-bundle/demos and > development-bundle/docs folders are only populated with demos and docs for > those plugins you've selected. So you won't get the demos and docs for > accordion, tabs, progressbar etc, if you've only selected dialog. Right. Being new to jQueryUI, I had no preconceptions about what modules were or what the significance of them was. I had no idea that "module" == +1 JS file. I didn't even realize that Dialog was a "module" -- I just saw "Dialog" (which is what I was after), clicked it, went to the page for it, saw it said "UI Core" as the only required dependency, and thus [wrongly] jumped to the conclusion that ui.core.js was the only required file. I guess there is just an innate learning curve required to use the jQueryUI page. > Good luck, and let us know how you make out with another run. > > - Richard Thanks for the help, and sorry for the "sky is falling" tone, but I was really at my wit's end at that point. Just one of those days, I guess! -ken --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
