[jquery-ui] create text on drop

2009-02-25 Thread marr
I need to display some text when dropping a div. I have two sortable bucket divs with other divs inside. I have the drag and drop working, but now I'd like to display text stating where the dropped div came from. Any ideas? Thanks, --~--~-~--~~~---~--~~ You rece

[jquery-ui] Re: Multiple instances of modal dialog box

2009-02-25 Thread Richard D. Worth
At the very least, you can throw your options in a variable and then call .dialog(options) 3 times. If you want to take it a few steps further: $(function() { var options = { autoOpen: false, width: 600, modal: true }; $([1, 2, 3]).each(function() { var num = this;

[jquery-ui] dragging items from bottom of a long list

2009-02-25 Thread marr
I'm dragging and dropping items between two divs. There is so much content in the source div that I need scrollbars. If I want to drag an item from the bottom of the source list I have to drag it to the top of the source div, then move it over to the destination div. Is there a way around this

[jquery-ui] Re: Multiple drag handles for draggable()?

2009-02-25 Thread Richard D. Worth
'img, span' is the selector you want. The + (adjacent sibling) means a span that immediately follows an img. - Richard On Wed, Feb 25, 2009 at 2:01 PM, Shedokan wrote: > > I have a draggable with img and span tags and I want them both to be > handles. > > I tried doing > $('.draggable').draggab

[jquery-ui] Re: ui.tabs : does not fire up

2009-02-25 Thread pixeline
although i managed to create the tabs i needed in an isolated page, i'm struggling to implement it in my application. It really seems the tabs() is not fired because if i look at hte generated source, the classes added by the plugin aren't there. They used to in the pre - ui version of the tabs i

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Max
Ok I've figured this all out. Thanks so much for your help! I was about to lose it over here. On Feb 25, 2:40 pm, "Richard D. Worth" wrote: > On Wed, Feb 25, 2009 at 12:07 PM, Max wrote: > > > So I can have handles in the markup like in the previous version? > > That'd be handy. > > Yeah, just

[jquery-ui] Re: ui.tabs : does not fire up

2009-02-25 Thread pixeline
OK, i made a separate implementation, only having the uitabs in the codeflow. turns out its the tab nav ul list inside the h3 is a no-go. to have the tabs displayed underneath only needs to have your markup reflect that: the ul after the tabbed divs. Would have assumed that should be set via css,

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Max
Ok I figured out the major problem was having range: "true" rather than range: true in my options, though that was working fine with the previous version. I've changed my code and it's closer to working now, although now I have the mysterious issue that none of the sliders in my dev copy of the si

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Richard D. Worth
On Wed, Feb 25, 2009 at 12:07 PM, Max wrote: > > So I can have handles in the markup like in the previous version? > That'd be handy. Yeah, just add the class 'ui-slider-handle' to them. > Here's a gist with just the necessary styles copied > into it: > > https://gist.github.com/78d988b9d1c60

[jquery-ui] Re: UI documentation version numbers

2009-02-25 Thread Richard D. Worth
I'm really sorry about this. It's on my list to fix up. Should be today. In the meantime, to be clear http://docs.jquery.com/UI/ contains docs for 1.6rc6/1.7 http://docs.jquery.com/UI/API/1.5.3 contains docs for 1.5.3 - Richard On Wed, Feb 25, 2009 at 12:27 PM, Edward Z. Yang < edwardzy...@thew

[jquery-ui] Re: datepicker

2009-02-25 Thread ShopBrian
for the html do Then the php would be $date = $_POST['formDate']; When I used the datepicker I had to make the altFormat: 'y-mm-dd' for 09-01-01 format and altFormat: 'yy-mm-dd' for 2009-01-01 format. Meaning y=two digit year, yy=four digit year. This may not be the case with different versi

[jquery-ui] UI documentation version numbers

2009-02-25 Thread Edward Z. Yang
It would be really great if the UI documentation specified what version number it applied to, like the jQuery core docs. I wasted two hours on this yesterday. Cheers, Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[jquery-ui] Datepicker covered

2009-02-25 Thread GALOZ
I have a date field near a flash object. When I activate the calendar, this is covered by the flash object and I just can see the first two weeks on the calendar. What can I do for the flash object don´t cover the calendar ??? Thanks for your help. --~--~-~--~~~---~--~

[jquery-ui] sortable IE 7 bug when scroll bar

2009-02-25 Thread Raf
I'm having a problem using jquery ui 1.5.2 (jquery 1.2.6) for sortables. In IE7, when a becomes too big within a and scrolling is availble, I am unable to sort the list. When I try to sort it, I don't get a js error, but instead of the moving, the whole page and all the items are just flickerin

[jquery-ui] Multiple drag handles for draggable()?

2009-02-25 Thread Shedokan
I have a draggable with img and span tags and I want them both to be handles. I tried doing $('.draggable').draggable({ handle: 'img + span' }); but it doesn't works, I also tryed using full paths and it doesn't seems to work? how can I do this? --~--~-~--~~~---~--~-

[jquery-ui] UI Dialog / Grow / Shrink to new content.. Possible?

2009-02-25 Thread Gilles (Webunity)
Is it possible to grow or shrink the dialog using the UI effects? If so, anybody has the right code for it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquer

[jquery-ui] Suggestion: a comment for ui.theme.css

2009-02-25 Thread Steven Black
This is a suggestion: It's probably appropriate to annotate the lines in ui.theme.css to the effect that "filter:" clauses are, for now, IE- only hacks. In other words, annotate the lines containing the following filter:Alpha(Opacity=NN) Rationale: I think it's generally recognized and acc

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Max
So I can have handles in the markup like in the previous version? That'd be handy. Here's a gist with just the necessary styles copied into it: https://gist.github.com/78d988b9d1c60f40d1fb Obviously the real version has tons more stuff in it and it's fully styled, but I want to get this working

[jquery-ui] Re: Geting an Invalid Argument error in IE only for jQuery UI Accordion 1.6

2009-02-25 Thread boater21
If I turn off animation with animated: false on the accordion config object, everything seems to work OK. On Feb 25, 7:14 am, Sylvio wrote: > I manage to resolve the bug by adding : > if(!n) n=0; > > just before this : j.toShow[0].style[m.prop]=n+"px"; > > But I have still problems with IE6 & IE

[jquery-ui] Re: Geting an Invalid Argument error in IE only for jQuery UI Accordion 1.6

2009-02-25 Thread boater21
I'm having the same problem. DebugBar doesn't show any errors, but the accordion just freezes up. I've got nested accordions, and the problem only seems to show up after I activate one of the inner accordions a couple of times. On Feb 25, 7:14 am, Sylvio wrote: > I manage to resolve the bug by a

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Richard D. Worth
On Wed, Feb 25, 2009 at 11:03 AM, Max wrote: > > Working on this right now. I'll tell you a few of the issues I've been > having (it's frustrating because I need the new UI features and these > issues are so minor). > > For this particular app I need a way of styling the left and right > slider h

[jquery-ui] Sortable helper in completly wrong position in IE6

2009-02-25 Thread jonhobbs
First of all, apologies for my 3rd Sortable realted question today but I'm tearing my hair out trying to work it all out. I've got most of it working but have just spotted a big problem in IE6. When I start do drag a portlet the helper seems to jump to an odd position. It seems to be related to

[jquery-ui] Re: Range sliders not quite working

2009-02-25 Thread Max
Working on this right now. I'll tell you a few of the issues I've been having (it's frustrating because I need the new UI features and these issues are so minor). For this particular app I need a way of styling the left and right slider handles of a range slider differently (the two shapes fit to

[jquery-ui] Adding rounded corners to a placeholder.

2009-02-25 Thread jonhobbs
Hi, Using the Sortable plugin, is it possible to round the corners of the placeholder? I've tried this start: function(event, ui) { ui.placeholder.addClass('ui-corner-all'); }, but no luck... --~--~-~--~~~---~--~~ You received this message because you ar

[jquery-ui] No revertDuration on sortables?

2009-02-25 Thread jonhobbs
Hi Guys, I should warn you that althogh I'm very proficient at jQuery, I'm using jQuery for the firt time to build a portal layout and I may have several questions about Draggables/Droppable/Sortables before I'm done! :) Anyway, It's going OK so far, I started using Drag/Drop and got a bit confu

[jquery-ui] Reset accordion

2009-02-25 Thread adexcube
Hi All, I'm trying to create a function who resets the accordion to its initial state. What I've got is this: $.fn.resetAccordion =function(){ $('#navigation a.highlighted,#navigation a.selected,#navigation a.ui- state-active').removeClass("highlighted selected ui-state-active");

[jquery-ui] DatePicker: Populate alternate field

2009-02-25 Thread jquerydev
I am using jquery-ui-personalized-1.5.3.js and the DatePicker: Populate alternate field ... I have it working exactly as designed and expected. But, now I need to add an additional field to the mix. So instead of one alternate field I need two. I attempted to modify the code, but did not get th

[jquery-ui] Re: Geting an Invalid Argument error in IE only for jQuery UI Accordion 1.6

2009-02-25 Thread Sylvio
I manage to resolve the bug by adding : if(!n) n=0; just before this : j.toShow[0].style[m.prop]=n+"px"; But I have still problems with IE6 & IE7 : After some clicks (5 to 10), the accordion stop to works and became fixed... On Feb 21, 7:01 pm, karen wrote: > I have anaccordionset up which wa

[jquery-ui] Re: Geting an Invalid Argument error in IE only for jQuery UI Accordion 1.6

2009-02-25 Thread Sylvio
Hi, I have this problem too with Accordion on IE7 (& IE6) : The first click on accordion work but the second give a javascript fatal error: "Invalid argument line 83" (accordion method) jQuery('#menu').accordion( { header: 'h4', autoHeight: false, navigation: true }) ; I use : - Jquery

[jquery-ui] Re: Resizable modal dialog, iframe and scrollbar issue

2009-02-25 Thread David Healy
Oops, of course I meant jQuery 1.3.2 - help appreciated on the remaining issues On Feb 25, 10:37 am, David Healy wrote: > Hi Scott > > Sorry for the delay in getting back to this, I've been busy with other > projects but I've now updated the test page > athttp://dbserver.sac.ac.uk/~dhealy/ > to

[jquery-ui] Re: Resizable modal dialog, iframe and scrollbar issue

2009-02-25 Thread David Healy
Hi Scott Sorry for the delay in getting back to this, I've been busy with other projects but I've now updated the test page at http://dbserver.sac.ac.uk/~dhealy/ to use jQuery UI 1.6rc6 and jQuery 1.2.3 This appears to have fixed the iframe scrollbar issue but the modal overlay no longer shows