Questions tagged [jquery-ui]

jQuery UI is the official jQuery user interface library. It provides interactions, widgets, effects, and theming for creating highly interactive web applications.

Filter by
Sorted by
Tagged with
5
votes
2answers
165 views

Simple jQuery drag event

I would like some comments on my code and implementation for this simple piece of jQuery. Basically it is 2 div boxes #side1 and #side2, in a container div called #frontimage, where #side2 can be ...
4
votes
2answers
132 views

Using jQuery UI .position() in a backwards compatible way

Trying to implement this API in a way that works pre and post jQuery UI 1.9: I have a subtle feeling that there should be a more elegant way. ...
3
votes
2answers
160 views

Replacing simple jQuery methods for better use

There are a few common jQuery call I find my self calling when creating my app. I need some help and maybe a better way to do all this or rewrite it. 1) Singleton Selector If I want to select only ...
1
vote
1answer
347 views

Using jquery to prepare jQuery UI tabs, optimize?

I am looking for someone to review my solution to a jQuery DOM manipulation exercise on appendto.com: http://learn.appendto.com/lesson/dom-manipulation-101#exercise I'm wondering if there is a way I ...
0
votes
1answer
463 views

Roll your own widget factory

So for practice with Javascript, I wrote this lightweight widget factory which is similar in functionality (okay, that's a bit of a stretch) to jQuery's UI Widget factory. I was hoping I could get ...
-1
votes
1answer
108 views

Tip dialog jQuery plugin

How would you write this jQuery code cleaner and better? I'm a beginner. ...
3
votes
1answer
292 views

Jquery sortable style function

This is a basic sorting function written in jQuery that moves items in the DOM around to create empty spaces for a droppable(). Since there is so much going on in a droppable over event, i'd love some ...
3
votes
2answers
105 views

Exceptions for control flow

I just wrote the following javascript (jQeury loaded): ...
1
vote
1answer
375 views

Grab Text storing it in a var then adding html method and adding animation to it

I want to know the correct way to finish up this code at the bottom. I'm thinking there has to be a better way to grab content from one section of your site and displaying it somewhere else with ...
4
votes
1answer
1k views

Multi jQuery Sliders, Help me write this in better code

I have three sliders with different min, max values, everything is working fine from following the tutorials on the jQuery UI website. ...
5
votes
2answers
3k views

jQuery Toggle Animation

When you click open - a div slides out. If you click on the new div, an additional div slides out from under it. This is working great, but I need two things that I cant figure out! How can I ...
2
votes
1answer
369 views

Refactor jquery (coffescript) code with checkboxes

I have two different set of checkboxes. With the coffescript code below I set the maximum amount of checkable items at 3. I would like to refactor this code, to be cleaner and compact, but I can't get ...
0
votes
1answer
390 views

jQuery login code

How can I improve this? jQuery ...
3
votes
1answer
383 views

JavaScript implementation of a TODO manager

I was asked to create a TODO manager using JavaScript and CSS. I did not get a good review on the code nor specific comments on how to improve it. Can someone here help by give me tips on what is bad ...
4
votes
1answer
3k views

Pie Chart jQuery-UI plugin

I would greatly appreciate the input of any gurus out there. I have recently begun learning JavaScript and then jQuery and jQuery-UI and have thought I would take a stab at writing my own jQuery-UI ...
4
votes
2answers
694 views

Refactor this jQuery datepicker code to be as small as possible

I am using jQuery datepicker on 2 forms on the same page. I currently am using the following code (below), but as you can see, I am using the same parameters over again (showOn, buttonImage, ...
10
votes
2answers
643 views

Is there a better way to write this jQuery UI effect animation?

I'm writing some code to perform some simple form validation and I would like to display error messages inside the actual relevant textarea by means of a text fadeout/fadein effect. To achieve this I ...
2
votes
1answer
788 views

Audio scrubber slider bar

I'm trying to improve the quality/efficiency of my coding (having only been learning jQuery for a couple of months). I have a function which loops through all ...
1
vote
1answer
183 views

can we use of $this in closure for jquery plugin

I tried creating a quick tooltip plugin using the jquery and jquery ui position. Is the way I have used the enclosure are right and is the use of position right since in ff it seem to have some memory ...
3
votes
1answer
390 views

Addition of accession analysis stubs to new requests and accessions

There's things I know about JavaScript and jQuery, and things I don't. I know that this works, gets and stores what I want so that, when I need to do stuff, I don't have to wait for it. Functionally, ...
2
votes
1answer
944 views

jQuery and cross browser input fields focus handling

I have a form and need to be able to highlight/decorate fields as they gain focus (change their background color, border). I'm also decorating their corresponding 'labels'. All works fine where it ...
2
votes
2answers
249 views

jQuery UI button and some calculations

I have a list of checkboxes styled using JQuery UI as buttons. Each have a data-price attributem containing a price in this ...
4
votes
1answer
329 views

Organizing page functions and page state using the Module pattern

So I'm developing a webpage using MVC which will be mainly JavaScript driven. Instead of using global variables, and global functions, I would like to do it right this time. I don't want to use ...
2
votes
2answers
396 views

jQuery Chat UI Widget

I'm creating a chat UI with jQueryUI: ...
3
votes
2answers
1k views

jQuery Delay slideDown using Queue

I have the task to create a function that adds some messages to the page and another to show them in last to first order with a jQuery slideDown() effect. jsFiddle ...
11
votes
3answers
4k views

Coffeescript beautification and refactoring

As much as I try, I cannot seem to get this Coffeescript code to look beautiful (I'd like to think it is possible). I have tried both Javascript and Coffeescript. Just to be clear, this code works ...
7
votes
1answer
16k views

JQuery UI Datepicker with beforeShowDay function

I am relatively new to JavaScript and JQuery. I wanted a Datepicker that has the following functionality: Weekends are not selectable Non working days (bank holidays etc.) are not selectable The ...
7
votes
1answer
2k views

Review on my multiple JQuery Slider on a page

I have successfully placed multiple jquery ui slider on a page and its transalation text too. you can check it live on: http://outsourcingnepal.com/projects/jQuery%20slider/ I have my jquery code as :...
8
votes
1answer
3k views

Looking for improvements on my jQuery-UI tagging widget

I am looking for any possible improvements on this tagging widget. I ask for special attention to be paid to my blur handler in the event of a autocomplete option being specified but any ...

1 2