jquery-ui

Jquery Draggable with more than one handle

Is it possible to have a Draggable element with more than one handle? I am initializing it twice, each time with a different handle param, but it doesn't work - only the first one works. ...

jQuery UI Tabs - Automatic Height

In previous versions of jQuery tabs there was an option to automatically set the height of the tab to that of the tallest tab in the group using: $('#container').tabs({ fxAutoHeight: true }); However this does not seem to work in jQuery UI 1.5.3. Has this option been removed? If so is there another way to get the same functionality?...

What should "value_from_datadict" method of a custom form widget return?

I'm trying to build my own custom django form widgets (putting them in widgets.py of my project directory). What should the value "value_from_datadict()" return? Is it returning a string or the actual expected value of the field? I'm building my own version of a split date/time widget using JQuery objects, what should each part of the...

improving performance of table navigation in jquery

Hi, I am trying to write table navigation using keys for asp.net gridview. This is what I have so far. It is working fine but it is slow. Please look at it and let me know how to improve the performance if possible. Basically it is html table with input elements. The structure of table is like this <table> <tr> <td> <div style="height...

altering jquery datepicker to work with blueprint css

Does anyone have any pointers how to to fix the styling issue presented when using jquery ui's datepicker along side blueprint css framework? Specifically the table with the dates appears larger (wider) than the container it sits in. ...

Cleaner (nested) closure in JavaScript with jQuery's each()

I was wondering if there is a cleaner (more succinct) way to do what each() is doing in following JavaScript code. $(".moreinfodialog") .before('<a href="#">Click for more info.</a>') .each(function() { var temp = this; $(this).prev("a").click(function() { $(temp).dialog("open"); return f...

jQuery-UI Datepicker CSS problem

Hi, I've got this pretty simple HTML page with a jQuery datepicker: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title>jQuery Datepicker</title> <link rel="stylesheet" href="../App_Themes/D...

jquery datepicker display problem in IE 6.0

Hello all, I have a display problem with jquery datepicker in IE 6.0. The border of the datepicker pop-up is not shown in IE 6.0, the background of the pop-up window is white (should be gray) and the back- and forward navigation icons are shown in a wrong color. FF and later versions of IE are showing the expected correct result. Am I ...

jQuery Sortable callbacks not working?

I'm using the Sortable component of jQuery UI. The callbacks don't seem to work at all, even with this minimalistic test: <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript" src="jquery-ui-personalized-1.6rc4.js"></script> <script type="text/javascript"> $(document).ready(function () { $("#outer"...

Can one element accept sortable droppables on behalf of another?

I have two connected sortable lists, but each one is in a larger block element. Something like: <div class="items_box"> <ul class="items"> <li>Item</li> <li>Item</li> <li>Item</li> </ul> </div> <div class="items_box"> <ul class="items"> <li>Item</li> <li>Item</li> <li>Item</l...

jQuery Tabs Under IE7 Selected State

I'm using jQuery to create a load of tabs for a web application. I've used just the basic examples provided from here without any luck so far. The tab content works, the theme displays correctly, however when I click on a tab the state of the tab doesn't changed. This application has to work under IE7, any other browser doesn't matter...

Problem getting themes to work in jQueryUI using Google-hosted jquery-ui.js

I'm new to jQueryUI and I think I am overlooking something very basic... Quick description of my problem I used ThemeRoller to download a jQueryUI theme, which also generates a jQueryUI javascript file. I'd rather use the file hosted at Google (http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js), but when I do this t...

JQuery UI Accordion Glitch

Hey everyone, I'm working with JQuery UI 1.6rc5 and I'm having a bit of trouble using an accordion widget. Here's the code I'm using. <script> $(document).ready(function(){ $('#find-panel').accordion({ header:"h3", autoHeight:true, alwaysOpen: false, }); }); </script> <div id="find-panel" class="ui-accordion" ...

Is jQuery UI missing a state?

The jQuery UI widgets seem to have inactive, active, and hover states, but lack a depressed (clicked-and-held) state. Is this an oversight? Just about every modern UI I can think of have a depressed state. Has anyone added such a state? If so, what pieces of code did you have to touch? Edit: What I should have said is that hovering an...

jQuery UI Dialog validation without using <form> tags

http://bassistance.de/jquery-plugins/jquery-plugin-validation/ looks to be the best jquery validation plugin out there. I can't seem to get it working in the jQuery UI dialog though. This code works outside of the dialog DIV: <script type="text/javascript"> $(document).ready(function() { $("form").validate(); $("a").bind("cli...

Problems with jQuery UI Datepicker

Ok, I've rolled my own theme, I've made a custom jQuery UI pack (progress bar, date picker, slider) and installed it all. Seems to (mostly) work except for two things: When my page first loads the datepicker div is visible; and The text "Next" and "Prev" are visible in large font underneath my icons. None of the examples seem to have...

How do I localize the jQuery DatePicker?

I really need a localized dropdown calendar. An English calendar doesn't exactly communicate excellence on a Norwegian website ;-) I have experimented with the jQuery DatePicker, their website says it can be localized, however that doesn't seem to work. I am using ASPNET.MVC, and I really want to stick to one javascript library. In thi...

How to build a portal page with saveable state in jquery UI?

Hi, I know I should spend more time researching this and having a go before asking the question but I've got just 2 weeks to build a site with a portal style homepage (much like http://www.bbc.co.uk). I'm fairly good with jQuery and have played with jQuery UI draggables in the past but I was wondering if there were any tutorials or bes...

Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)?

I use a datepicker for choosing an appointment day. I already set the date range to be only for the next month. That works fine. I want to exclude Saturdays and Sundays from the available choices. Can this be done? If so, how? ...

Jquery Tabs- Load Contents only when clicked

Hi, I am relatively new to jquery and web development. I am using jquery tabs to create tabs. But i want the contents to be loaded only when i select a particular tab. Can someone please help me with this? ...