jquery-ui

Disable specific days of the week on jQuery UI datepicker

Hey, I would like to disable certain days like every monday or every tuesday or every monday, thursday friday, etc. on a jQuery UI datepicker. I tried to play with beforeShowDay, but that requires a specific date. I just want to disable an entire day of the week. Update: Thanks for the suggested solutions, but they all work for speci...

How do I remove the class on all siblings?

I've got: <th>First Name<span class="ui-icon ui-icon-arrowthick-1-s"></span></th> When the user clicks on a th cell, I need to clear the span tag from every one of it's siblings. $('th').click(function() { var $th = $(this); $th.siblings().each ...

jquery-ui icons

I understand that if I use this: <script src="http://www.google.com/jsapi"&gt;&lt;/script&gt; <script type="text/javascript"> google.load("jquery", "1"); google.load("jqueryui", "1"); </script> <span class="ui-icon ui-icon-arrowthick-1-n"></span> Then an arrow appears. I don't understand how to wrap the arrow with this: ui-state-defa...

jQuery UI datepicker customization

I have the jQuery datepicker working, but I need to be able to select more than just dates. I need to be able to select between some strings as well "Yesterday" and "Today" to be precise. So, the underlying input can contain any date as well as the strings "Yesterday" or "Today". Is there some way I can do this by tweaking the existing...

jquery ui: draggable -> if drag unbind hover event??

hi guys, i have a rather weird problem that should fix a bug in my current project. I'm working with a lot of thumbnails randomly positioned on the webpage. all thumbs have an absolute position. this thumbs react on a hover set by jquery: $(".thumb").hover( function () { $(this).stop().animate({"height": full}, "fast"); $(this...

is there anyway to have jquery ui progress bar show up vertical?

i want a progress bar to show percentfilled but i want to make it vertical like a thermometer like this below. is this possible with an option on Jquery UI progress bar? I want something that looks like ...

JqueryUI: a link that opens a dialog

Hi, i have this code that should create a dialog with the page google inside when the link is clicked: <?php use_javascript('/sfJqueryReloadedPlugin/js/jquery-1.3.2.min.js') ?> <?php use_javascript('/sfJqueryReloadedPlugin/js/plugins/jquery-ui-1.7.2.custom.min') ?> <?php use_stylesheet('/sfJqueryReloadedPlugin/css/ui-lightness/jquery-u...

jQuery Droppable, get the element dropped

A small question hopefully with a simple answer, I am using jQuery draggable and droppable to place items into a dock. Using the below code for the drop. $("#dock").droppable({ drop: function(event, ui) { //Do something to the element dropped?!? } }); However I couldn't find a way to get...

setting z-index jquery ui controls?

Annoyingly, the jquery ui's set a few css properties inline, making it impossible to override them in the stylesheet. I tried to override the values with jquery, but then they get changed back as soon as the control is interacted with. Does anyone know if any of the jquery ui control's initialisers/constructors have the ability to overr...

JQueryUI: how to keep the form inside the dialog when there are validation errors?

Hi, I have a form inside a JqueryUI dialog that is showed when i click a link. If i try to submit the form and there are validation errors, the form is not showed inside the dialog. So what should i do to keep the form inside the dialog when there are validation errors? This is my code: <script type="text/javascript"> $(function ()...

jquery-sortable using behavior of a linkedlist

I suspect I'm not looking at this issue in the right way so here goes. I have essentially a LinkedList of data on a web page (http://en.wikipedia.org/wiki/Linked_list) that I'd like to manipulate using traditional Linked List behavior (i.e. just updating the reference/id of the "next" object) for performance reasons. Where this gets ...

jQuery UI unofficial menu usage

There is a jQuery ui menu which is unofficially in the 1.8.1 code. How would I even use that if I wanted to? I have used the code here: http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/ to make a menu. However, if I have an autocomplete (which is using the undocumented menu behind the scenes) where this javascript is i...

Strange border (for me !) on IMG

Hello to everybody, i have the following code in html : <div id="header"> <div id="logo"></div> <div id="versione"> <a class="ui-widget-content ui-corner-all countryVersion" href="blank.html">Versione italiana<img src="ita.png" /></a> <a class="ui-widget-content ui-corner-all country...

jQuery SelectMenu closes after click

Hey, I just updated to jQuery 1.4.2 & jQueryUI 1.8.2 w/the google cdn and now my jQuery selectmenu closes abruptly right after you click it. I have a basic select and am instantiating it like so: $('#myselectid').selectmenu({ maxHeight: 300 }); I should also point out that if I change the jQuery version to 1.3.2 and the jQueryUI ver...

Google Visualization in JQuery Tabs not Displaying in Firefox 3.6.3

Hey Everyone, I seem to have a strange problem. I am working on a simple dashboard that is using JQuery tabs to organize and display Google Visualization graphs. I am using a modified PHP wrapper to generate the JavaScript for the Google Vis side of things. The Google Visualization graph renders correctly in Chrome, Safari, and Safari f...

jQuery UI Sortable Position

how do i track what position an element is when its position in the list/sortable changes? ...

jquery dialog opening and closing don't work

hi, i want to show dialog after n seconds and hide it after m seconds but it don't work for me! $(document).ready(function () { var advanced = $("div#advanced"); $(advanced).dialog({ autoOpen: false, modal: true, buttons: { "Try it now": function () { window.location = 'myURL'; }, "No thank's": funct...

What is the "standard" JQuery treeview that most people use? It seems the most popular plugin isn't supported anymore!?

I've chosen JQuery as my JavaScript library but now I'm a bit frustrated by the JQuery plugin site... the site kinda sucks... the plugin area isn't designed very well and I can only find a few treeviews. The one with the most votes (link text) isn't supported anymore. Can someone please point me to an industrial strength treeview? D...

How can I bind multiple Jquery UI Slider with "year" Select?

Hi, I'm trying to render sliders instead of select components. Each page has several select components marked with class='jqselect' and all of them will have decreasing year values (some years may be missing). Eg. a select may have values [2010, 2009, 2006, 2005, 2004]. I have tried binding it both following the examples in the jQuery...

how to open jquery ui dialog automatically when the page loads?

I need my dialog to open when the page is loaded automatically. What is the way to do it using jquery. Without any user interaction to open it. I tried this code but it dint work <html> <head> <link rel="stylesheet" type="text/css" href="css/style.css" media="screen,projection" /> <script type="text/javascript" src=...