jquery-ui

JQUERY-UI Draggables - Seralize is running before the Draggable is complete

Hello, I'm using the JQUERY-UI draggable plugin. As a setting, when the Draggable is done, using the STOP setting I run a function to seralize a list of LIs to get their order in terms of their IDs. For example, if I have an UL, with a list of LIs with the following IDs: 1,2,3,4,5 If I then move 5, between 2&3, the seralize is returni...

Sequencing 2 lines of jQuery

I have the following lines of jQuery: // When dragging ends stop: function(event, ui) { // Replace the placeholder with the original $placeholder.after( $this.show() ).remove(); // Run a custom stop function specitifed in the settings settings.stop.apply(this); }, I don't want settings.stop.apply(this); to run UNTIL th...

Determine if an element is a jQueryUI Widget

I have written a jquery-ui widget using the Widget Factory... I need to be able to determine in code whether the element is already a widget or not... My investmentGrid widget is created on #container with $('#container').investmentGrid() I need to be able to determine elsewhere in the code if $('#container') is already an investmen...

jQuery UI tabs link for _blank webpage

Hi fellas, In our format some pages must be in Tabs that's ok. But some of them must be open in a blank page... Here is the html; <div id="tablar"> <div id="tabs"> <ul> <li><a href="#tabs-1">Tüm Liste</a></li> <li><a rel="ex" href="gtl.aspx?EventId=2">Yeni Ekle</a></li> <li><a href="#tab...

Toggle jquery div expand over the another div Animation (Z-Index).

Hi, Following url there is right hand toggle menu which is on flash. I need a Same functionality On jquery. I have try but the problem is to fixing the position. of next div and Image bellow http://www.junkiesdigital.com/ I have made a use Jquery function but I unable to get the exact animation. Here is the page. http://www.junki...

jQuery 1.4.2 - " Object doesn't support this property or method" in Internet Explorer 8

Hi, I have an issue where my jQuery script reports followign error in Internet Explorer 8 Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8; MS-RTC EA 2; ...

jQuery dialog x button doesn't trigger close event

Hi all, I have a jQuery dialog with the following as a parameter: close: function(event, ui){ $('body').css('overflow','auto'); }, Now this behavior works when the user hits Esc (because closeOnEscape remains true). But I've noticed that when I hit the "X" button and the dialog closes, the close event isn't called? The same app...

Making a jQuery UI Slider with live()

Hi ¿How can I code a Slider in jQueru UI to make it Live? Here´s the code: //scrollpane parts var scrollPane = $('.scroll-pane'); var scrollContent = $('.scroll-content'); //build slider var scrollbar = $(".slider-vertical").slider({ orientation: "vertical", value: "100", slide:function(e, ui){ if( scrollConte...

jQuery UI Slider Problem

I have been using jQuery sliders for about a week now without issues in my project, but I just hit an issue. I am adding 3 sliders to my page All 3 are added exact same way (like this): $('#slider_id').slider({value:100,'slide':function(e, ui){// some code}}); 2 work properly One does not work (it gives me a fiebug error 'f is undefi...

Jquery UI dialog initiation? Is there a way to bind it?

I am trying to bind the dialog initiation (which happens in document ready) to a live or delegate for a div. Something like this for click event: $("#divSelectedContacts").delegate("span", "hover", function () { $(this).toggleClass("strikeOut"); }); for this: $("#divContacts").dialog('destroy').dialog({ ...

MicrosoftAjax date.format function not working in Chrome

There is a bug in MicrosoftAjax.js String.format function when using Chrome 5.0.375. The function randomly returns 'undefined' for some dates. I went around that by using jquery date formatter that comes with datepicker. ...

JavaScript function pass-through?

I'm not sure if this is doable, but I would like to be able to set a jQuery UI event as a function (directly), as opposed to continuing to wrap in additional function(event, ui) { ... } wrappers. Hopefully you can see what I'm going for from the example below. Here is what I would like: $("#auto").autocomplete({ source: "somepage....

jquery drag and drop animation

I have some UI functionality for drag and drop, but when an element is dropped, the animation makes it flit about all over the place for a split second before it appears in the newly dropped location. Can anyone advise how to tackle this, so that the draggable element moves more cleanly into place on success? Here is a snippet from t...

Does the jQuery UI Icon system have an "empty" icon - one with no image?

Sounds like a bit of a silly question but it'd be a nice feature. Does the jQuery UI Icon system have an "empty" icon - one with no image? Am I forced to do some custom styling on a ui-icon-empty and move the background to an area of the sprite that is off the chart? ...

jquery ui position fails with margin

Hi, I am trying to use jQuery to position an inpage div (Context-Menu) relative to a clicked tablerow on a webpage. This works fine until I add an offset with either "left" or "margin-left" to the outer container. Using padding-left works.... The relevant code is: $('#supermenu').position({ my: "left top", at: "left top", of: ...

why is css not being applied to this jquery anchor button?

I must be missing something very basic in the CSS. My jQuery anchor button is functional, but it's rendering as a simple underlined label, not asa rounded-corner UI button. I would be grateful if someone could point out the error in this simple example. Thanks !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4...

JqueryUI: trying to show a dialog

Hi, this is my code <script type="text/javascript"> $(function() { $("#dialog").dialog(); }); </script> <div id="dialog" title="Basic dialog"> <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> </div> and firebug...

jQuery UI dialog on ASP.NET page (inside user control)

I have a really odd behavior here: I created a little popup dialog in jQuery UI, and in my test HTML page, it works flawlessly. When I click on the button, the popup comes up, covers the background, and remains on screen until I click on one of the two buttons (OK or Cancel) provided. So now I wanted to add this into my ASP.NET 3.5 app....

set tab in new window using window.open

Hi All, I have two pages name one.php and two.php in one.php i have a combo box which has a option values like option value='0' option value='1' option value='2' option value ='3' Now when on change event of combo box fires i am opening one new window named 'two' as follows $('#sel').live('change',function(){ var tindex=$(t...

initialize jquery slider with hidden input value from database.

I'm using a slider as user input for a screen. Basically it's a bulk update screen where there is a table with multiple rows, thus multiple sliders. I created it so that the hidden value is what gets posted in the form. <td> <input class="percentageProvidedHidden" type="hidden" name='<%= "Values[" + i + "].Percentage" %>' value='<%=...