[jquery-ui] Re: How to set Dialog height to auto?

2009-01-11 Thread Stefan Sturm
Hello, > > when I use the svn version I get this error: > > $.Event is not a function > [Break on this error] event = event ? $.extend(event, $.Event()) : $.Event(); > when I use the "jquery.ui.all.js" script i seems to work :-) But with one more problem: When I change the content of the dialog,

[jquery-ui] Re: How to set Dialog height to auto?

2009-01-11 Thread Stefan Sturm
Hello, 2009/1/9 Scott González : > > Try using the latest SVN version. > when I use the svn version I get this error: $.Event is not a function [Break on this error] event = event ? $.extend(event, $.Event()) : $.Event(); Greetings, Stefan Sturm --~--~-~--~~~---~--

[jquery-ui] Re: Tabs - Close all on page load

2009-01-11 Thread fizzystutter
Hi Klaus, Thanks for the reply, I got the functionality working with: $("#tabs").data('selected.tabs', null); Regards James On Jan 9, 9:50 pm, Klaus Hartl wrote: > $('#example').tabs({ selected: null }); > > Please have a look at the documentation, where such information can be > found as wel

[jquery-ui] Simple Panel

2009-01-11 Thread Nathan Maves
What is the best way to have a simple panel with the new ui? I am looking for the same ui used in the dialog/accordion but just a simple panel. Nathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group

[jquery-ui] Re: datepicker size

2009-01-11 Thread Jahelka
Ah ha! Got it now. Thank you very much for taking the time to get me going. I was losing my hair trying to figure that out! On Jan 11, 7:41 am, "Ca-Phun Ung" wrote: > Hi, > > The datepicker container is appended to the body so wrapping a div around > the input won't work. Try adding your font

[jquery-ui] Sortable applets in IE

2009-01-11 Thread malsup
Can't seem to get sortable applets working in IE7: http://jquery.malsup.com/test/applet.html --~--~-~--~~~---~--~~ 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@googlegro

[jquery-ui] Re: datepicker size

2009-01-11 Thread Ca-Phun Ung
Hi, The datepicker container is appended to the body so wrapping a div around the input won't work. Try adding your font-size changes to the .ui-datepicker CSS class. e.g.: .ui-datepicker { font-size: /* your font size here */; } On Sat, Jan 10, 2009 at 8:38 AM, Jahelka wrote: > > Hi all. Ne

[jquery-ui] Resizing an absolutely positioned element resets it's position. (1.6rc4)

2009-01-11 Thread Rob Monie
Hi, I'm not sure whether this should be posted here or as a bug report but i'll start with here. I have a series of absolutely positioned elements that i've tried applying resizable to. When I start the resize by dragging the handle, the element i'm resizing is being repositioned vertically towa

[jquery-ui] Pass get param to ajax driven tabset ?

2009-01-11 Thread Carpii
I have a bunch of tabs (jQuery UI Tabset), and then a series of empty divs to hold each tabs content. I want to pass a GET param to the url, when Im loading a tab (sometimes I flick to another tab as a result of programatical changes, rather than the user simply clicking o the tab). So I constru

[jquery-ui] Re: Issue with widget on clone

2009-01-11 Thread Danny
The last post was mangled; I wanted to say you could use a custom event: $.fn.cloneTheWidgets = function (){ return this.clone() // don't clone events .each(function(){ var handlers = $.data(this,'events')['cloneTheWidgets']; if (handlers) for (var handler in handlers) handlers [h

[jquery-ui] Re: Issue with widget on clone

2009-01-11 Thread Danny
Thinking about this a bit, you could automate the clone-and-reproduce- widgets with a custom event: $.fn.cloneTheWidgets = function(){ return this.clone.apply(this, arguments).trigger('cloneTheWidgets'); } and in the widget init function: init: function(){ this.element.bind('cloneTheWidget

[jquery-ui] Re: Issue with widget on clone

2009-01-11 Thread Danny
Nice to know someone read my post! The problem is that clone() clones the DOM element (the DIV), not the widget object, so the click handlers for $('#experiment1') and $ ('#experiment2') (which was copied from $('#experiment1'); that's what clone(true) does) both refer to the same function objec

[jquery-ui] Drop onto multiple droppable elements at once ?

2009-01-11 Thread Rob Monie
Is this possible ? I'm writing a weekly appointment calendar and am trying to figure out the best way to provide dragging of appointments around the calendar grid with detection of what timeslot(s) it's dropped onto. I'm using the grid option for the draggable so that it snaps to timeslots as I

[jquery-ui] Dialog box not honouring height when re-opened

2009-01-11 Thread zubin
I'm experiencing a problem that was mentioned on another group: http://www.nabble.com/Dialog-box-not-honouring-height-when-re-opened-td21258793s27240.html#a21390182 "Using the latest jQuery UI (1.6rc4) I am having a problem getting a dialog box to maintain its size when it is closed and reopened.

[jquery-ui] Re: Datepicker refresh

2009-01-11 Thread Lewis
Hi Oliver, Try this: jQuery("#date-pick").datepicker("setDate",jQuery("#date- pick").datepicker("getDate")); Essentiall this sets the date to the currently selected date. Its not elegant, but its a better option than destroying the datepicker. Hope this helps, Lewis On Jan 8, 6:37 pm, Olivie

[jquery-ui] Re: Datepicker refresh

2009-01-11 Thread Yeggstry
Hi Oliver, I've done this quite recently, the easiest way I found was to set the date to the currently selected date i.e. jQuery("#date-pick").datepicker("setDate",jQuery("#date- pick").datepicker("getDate")); The instance I am using this in is when I have a calendar that displays a number of e

[jquery-ui] Themes overlay

2009-01-11 Thread IAlexanderI
HI. Can i separate themes for ui.jquery components? Example: ui.tabs must use some1.core.css and some1.theme.css ui.datepicker must use some2.core.css and some2.theme.css THX. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[jquery-ui] Current themebuilder crashes browser after multiple style changes

2009-01-11 Thread Rob Monie
Not sure if you're aware of this one... I tried using the current themebuilder implementation today on the jquery ui website and it consistently crashes both ff and safari after approx 15-20 changes to attributes. It appears to get get worse as you go along until it stops responding and finally c

[jquery-ui] datepicker size

2009-01-11 Thread Jahelka
Hi all. New to jQuery! I've got a datepicker up and running on a test page and everything works great. The only problem I am having is adjusting the size of the datepicker. If I run the demo of the datepicker that is included in the dev bundle, the datepicker shows up at a reasonable size. If

[jquery-ui] Themes

2009-01-11 Thread IAlexanderI
Hi. My page have many jquery-ui components with different designs. (ui.jquery 1.6rc4) When i apply your theme in my datepicker, your theme ovrley my old theme for ui.tabs Example: core appending this code to ui.tabs "ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" - this bad for