jquery-ui

Jquery - animate, expand/resize to the left rather than to the right.

Hi everyone, so I have this image that I want to magnify on mouseover, so I have something like this. $('#something').animate({ width: bigger-than-now, height: bigger-than-now }); but I found that this always expand toward bottom-right, when I want it to expand toward bottom-left? does anyone know how...

Changing jQuery UI Button size?

I've been using the jQuery UI button all over my page, however I haven't found a way around what seems to be a simple problem. I want some of my buttons to be smaller than the other, this should be as simple as setting the CSS of the button text to something like, font: .8em; However jQuery UI takes your DOM element and wraps it: <butto...

How to merge together similar XML documents using jQuery?

If anyone read my last question, this is somewhat of a continuation of it. AFAIK, when using jQuery UI's Autocomplete ability to grab data from an XML file as its data source, you can only do it from one file in the Ajax call. http://www.finalfantasyunion.com/includes/xml/games.xml I'm planning to have a series of XML files like that ...

Override "private" function in Javascript

I am monkey-patching some of the jQuery's Draggable code* The goal is to avoid modifying the original source files and patch dynamically one of the internal functions. The function _generatePosition is declared like this: (function($) { $.widget("ui.draggable", $.ui.mouse, { ... _generatePosition: function(event) ...

how to use rails3-jquery-autocomplete plugin for multiple words autocomplete

Hi, I have use rails3-jquery-autocomplete plugin and I am just wondering how can I use it to do multiple words autocomplete. e.g. INPUT rails, gem it should generate auto-list twice. How to solve this problem?.. ...

jquery-ui-1.8.2.custom.min.js difference between themes

Does the jquery-ui-1.8.2.custom.min.js file included with the themes you download from jqueryui.com differ from theme to theme, or is it the same? Edit: I'm trying out different themes to see which one looks best for the site. I have the following folders: /jquery/js/jquery-1.4.2.min.js /jquery/js/jquery-ui-1.8.2.custom.min.js /jquer...

jQuery sliding notice on top of screen

With JQuery UI I am looking to have a small header bar slide down after the page loads with a single line of text that the user can click on. Is there a slide-from-the-top-and-dismiss JQuery UI? ...

Return sql query as array

Hello, I'm using jqueryui and its Autocomplete plugin. It use a json to extract items. I want to modify it so that items will be extracted from my db. Here is how items should be : $items = array( "Great <em>Bittern</em>"=>"Botaurus stellaris", "Great2 <em>Bittern</em>"=>"Botaurus stellaris 2" ); How to make an sql query that extra...

Is there any way to click the button in jquery ui?

button.trigger('click'); doesn't seem to work. There's also no trigger method in the docs. Is the only way to set the classes manually? Thanks. Edit: Oh actually not specific enough in asking, sorry. My button is a radio. ...

Adding a blank line in a specific position in an unordered list with jQuery

I have an UL created through PHP and jQuery UI that looks like this: <ul id="ml_organize"> <li id="il1" class="ui-state-default"><span id="add_hl1" class="icon ui-icon ui-icon-plusthick" title="Add header line" alt="Add header line" onClick="addMLRow('1')";></span><span class="org_qty">1</span><span class="org_partno">MAS-NTWKBAYKIT</sp...

jquery pop ups after jquery confirmation

Hello All, I am having a confirmation box after clicking on the "Delete " link in the jsp. Now the problem is that the success deletion page is showing in the same window. I would like to show it in a pop up window. I tried to use the javascript onclick(), but it is not wotking. So, how can I do that? <script type="text/javascript" s...

Jquery datepicker showing previous date in MVC

Hi, I am using the jquery datepicker function on a mvc Html.Textbox, which is bound to my model, the first time I press my search button it gets the correct date in my model, however if I press search again, it should return a different date from the model but it doesn't - it stays cached as the same date that came the first time. I deb...

How to at least display an item in JqueryUI autocomplete panel when no result found

I'm trying to force the jqueryUI autocomplete's panel/list to at least display a default item (such as "Add New Item") when the no match has been found. The item must be able to bind with some event-handler too. So far I had tried overcome this problem by adding a pseudo AC panel when the real AC panel is found hidden. I'm also wonderi...

How can I use jQuery Dialog for Add/Edit screens?

Clicking a link would open a List page in a jQuery Dialog popup. From this page, I would like the ability to Add (one jQuery Dialog) a record and also edit the record (another jQuery Dialog) with validation. I'm not sure how to handle multiple popups with Ajax posts that actually call the add/edit function. I'm working with ASP.NET MVC 2...

JQuery UI Modal window bookmark issue

I have a page that has bookmarks set and also the same page has a div which uses the Jquery Modal pop up. I set the bookmark code behind and also run the jquery to show the pop up on a condition. But, my jquery runs first and the boomark is set later . So my pop up is at the top but the bookmark is somewhere below. I have to scroll up al...

jQuery UI sortable & selectable

Hi, Does anybody know how to combine jQuery UI selectable and sortable ? This script: http://nicolas.rudas.info/jquery/selectables_sortables/ doesn't work in Chrome and it also has plugin modifications. Thanks ...

Jquery tabs intial tab selection

Hi, I've implemented jquery tabs and want to call the page they are on in two ways. Firstly with the first tab open and the others hidden which works fine. But secondly I want tab 4 to be visible when landing on the page. So I have simply duplicated the page - Page A opens with the first tab in view. Page B has this code.... <scrip...

Jquery UI datepicker ugly when used from google CDN

Hi all, I am using Jquery for the first time. It is exciting, but I got some layout problems. First things first, here is the site I am developing: http://davedev.com.br/projects/jdc/v1/pt/reserva.php (it is on brazilian portuguese, but the field I refer to is labeled "Data"). OK, so I am using Jquery and Jquery UI, as well as Le Frog...

problem with the Autocomplete() Jquery method

I have a text field 1 which Iam trying to attach the autocomplete to that field when i enter the textfield1 value the request goes to php page and which accepts a parameter. and it should return the response .Iam not able to get the response .How do i get that $("#txt1").autocomplete({ source: "getpeople.php?term="+$("#txt1").attr...

jQuery How to add a portlet

How do I add an jQuery UI Portlet to an existing set of Portlets? (Check: http://jqueryui.com/demos/sortable/portlets.html) How to add a portlet after loading? In my personal project I implemented portlets: http://www.soliman.nl/test/jqueryui/ui_2.php and I would like to make a button to append a portlet. I tried appending it to .col...