[jquery-ui] Dialog Absolute Positioning

2010-01-11 Thread Andrew
I'm working with using the Dialog widget to stick to a specific part of the page, not the viewport. Is there any normal option to disable the absolute positioning to the viewport, or do I need to change the way the core works? -- You received this message because you are subscribed to the Google G

[jquery-ui] Re: How do you get the value of draggable?

2009-10-11 Thread Andrew
I have am trying to get the value of a hidden field inside the draggable DIV. So when the DIV is dragged and then dropped it display the value of the hidden field. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQu

[jquery-ui] How do you get the value of draggable?

2009-10-07 Thread Andrew
Hi there Is it possible to get the value of draggable once it has been dropped? Many thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegr

[jquery-ui] Using sortable *inside* an iframe

2009-09-25 Thread Andrew Ingram
Hi all, I'm trying use jquery to access an iframe so I can modify its content (I'm making a basic CMS). The iframe content includes a section I'd like to make sortable, but I can't seem to get sortable working correctly inside the frame. Outside of the iframe, sortable works fine so I know that

[jquery-ui] Re: Cannot focus date picker or other popups in a modal dialog

2009-06-10 Thread Andrew R
Found a work-around. Added "ui-dialog" class to my DIV. The dialog overlay then views my DIV as a "friend" instead of an "enemy". --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this grou

[jquery-ui] Re: Cannot focus date picker or other popups in a modal dialog

2009-06-10 Thread Andrew R
One thing that would be nice is if the dialog widget supported windows (un-chromed dialogs, not resizable, no title bar, no side bars, etc.). Then anyone using it could leverage the stacking handling of the dialog so that the dialog widget won't block the child dialog. --~--~-~--~~

[jquery-ui] Cannot focus date picker or other popups in a modal dialog

2009-06-10 Thread Andrew R
The dialog, when modal, prevents focus from being transfered to an element in the document.body. So, if I have a datepicker, or another component that adds an absolute DOM element to the document body it cannot be focused. In Safari, I can't change select values or anything else. Suggested fix:

[jquery-ui] 2 datepicker enhancements

2009-05-29 Thread Andrew Houghton
Two issues / enhancement requests for the datepicker: 1. datepicker currently ensures that it fits on screen, even if it covers the input it's bound to. it would be nice if it could learn to a) show below the input if there's room, or b) show above the input if there's room, or c) do what it doe

[jquery-ui] Using UI icons inline

2009-05-22 Thread Andrew R
I don't know about others, but the fact that "ui-icon" makes the SPAN a block element ruins most page-layouts. So, when I want to use jQuery UI icons, I instead do this so that they behave: With this CSS: img.ui-icon { height: 16px; width: 16px; position: relative; display: inline; }

[jquery-ui] Re: Dialog does not updates its content's height when its height is changed programmatically

2009-05-20 Thread Andrew Robinson
Found a hack around the problem. Just need to call _size() after setting the height. I found how to get to the dialog class' private methods: $('#page_help').dialog().data('dialog')._size() --~--~-~--~~~---~--~~ You received this message because you are subscribed

[jquery-ui] Dialog does not updates its content's height when its height is changed programmatically

2009-05-20 Thread Andrew R
Versions: jQuery 1.3.2 with jQuery UI 1.7.1 Use case: size a dialog's height so that when the browser window is resized, the dialog resizes to fit vertically on the page. Problem: setting the height option and setting the "height.dialog" property programmatically do not end up having the dialogs

[jquery-ui] Re: Unable to select jQuery UI Dialog child from parent element via class selectors

2009-04-03 Thread Andrew Feller
.insertAfter($button); >} >}); > >$button.click(function() { >$dialog.dialog('open'); >}); > }); > > On Apr 2, 5:59 pm, Andrew Feller wrote: > > Thank you for your response Richard! Yeah, I had a feeling there is a > > reason w

[jquery-ui] Re: Unable to select jQuery UI Dialog child from parent element via class selectors

2009-04-02 Thread Andrew Feller
, it gets complicated as we are going to have multiple dialog boxes and other form elements not within dialogs. I think the least complicated option available to us is option #1 despite how much I hate it. Thanks! Andrew On Thu, Apr 2, 2009 at 4:47 PM, Richard D. Worth wrote: > > On Thu,

[jquery-ui] Re: Unable to select jQuery UI Dialog child from parent element via class selectors

2009-04-02 Thread Andrew
27;).dialog({ >         autoOpen: false, >         bgiframe: true, >         modal: true >     }); > >     $(this).click(function() { >         dialog.dialog('open'); >     }); > > }); > > On Apr 2, 2:58 pm, Andrew wrote: > > > ENVIRONMENT: jQue

[jquery-ui] Unable to select jQuery UI Dialog child from parent element via class selectors

2009-04-02 Thread Andrew
oxDialog" and I stumbled upon why. Whenever I tried to find my as a child of its container, it seems it was removed from the inner HTML all together. This explains why my logic could not find it. However, I still want to tie together dialogs and buttons relationally rather than hard code

[jquery-ui] Re: shadow dialog misplaced after opening with effect

2009-03-01 Thread Andrew
I figured out a much better solution to fix this issue go into your code, mine is in my jquery-ui-personalized-1.6rc6.js file... Also could be in ui.dialog.js etc. Inside the code (mine is line 4218) after this function $.widget("ui.dialog", { _init: function() { add this functio

[jquery-ui] Re: Accordion - expand all?

2009-01-22 Thread Andrew
1 prevents nasty flickering in some browsers $('#container .section').hide(1, checkOpen); } return false; }); On Jan 22, 3:08 am, Jörn Zaefferer wrote: > That isn't what an accordion is about. See the "If you want multiple > sections open a

[jquery-ui] Accordion - expand all?

2009-01-21 Thread Andrew
I am implementing J. Zaefferer's accordion plugin. Is there a way (or option, but I couldn't find one) to have a specific header 'expand all' or 'open all' the sections? I have written a snippet of jquery to show() all the sections, but then the accordion loses track of what is open. I'm not sure

[jquery-ui] Re: Trying to get ui-tabs to work w/ Facebox

2008-11-26 Thread Andrew France
he 'afterReveal.facebox' document event instead. e.g. $(document).bind('afterReveal.facebox', function() { $('#facebox tabs').tabs(); }); Hope that helps, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[jquery-ui] Re: UI Tabs Change URL Not refreshing

2008-11-03 Thread andrew
again - although I cannot be sure. Anyway - all working fine now, and personally thanks for all the effort on the tabs - great work! Andrew On Nov 3, 3:57 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On 3 Nov., 14:02, andrew <[EMAIL PROTECTED]> wrote: > > > Hi Klaus >

[jquery-ui] Re: UI Tabs Change URL Not refreshing

2008-11-03 Thread andrew
5 in the textbox, my url does not change to reflect itemID=5, and instead remains ItemID=2. Of course this happens if I do it the other way round - i.e. 5 first and then 2. So it appears to me that the url is somehow being cached on first select? I hope this makes sense, and appreciate your supp

[jquery-ui] UI Tabs Change URL Not refreshing

2008-11-03 Thread andrew
Hi All I have searched for a solution but cannot seem to find anything. I have some tabs that load data from an external dynamic url. The url worls fine, but does not refresh on changing the URL - i.e. from ItemId=3 to ItemID=4. I will explain best with my code: Assigning the tabs: $(function()