jquery-plugins

Working jQuery auto-height textfield plugin?

Does anyone know of an actual, working jQuery plugin that can properly expand a textarea's height as text is added to it? I have tried both the autogrow and growfield plugins and neither seem to work very well. Both have problems where they don't grow properly and/or ignore their max heights sometimes. I am using FF 3.5 on OSX for tes...

jQuery Validation Tool - Exact Text String Method

Does anyone know how to make a method within jQuery Validation Tool to require an exact text string? (upper/lowercase doesn't matter) Also where does the method actually get placed? -Brad ...

How to properly compress Jquery and lots of plugins?

Hi all, I am trying to clean up the javascript of a site. I am finding the header of my site is looking like this and growing: <script type="text/javascript" src="jquery.base.js"></script> <script type="text/javascript" src="jquery.plugin1.js"></script> <script type="text/javascript" src="jquery.plugin2.js"></script> <script type="tex...

A library that allows to add footnotes to a web page

I would like to add in my web app ability to add comments to a specific word in the page. Something like the LaTex footnotes. The UI I had in mind is, each word would be highlighted when the mouse hovers over it (or that the space after it is being highlighted), and when the user clicks, a textbox to enter the comment pops up near the p...

Facebook style JQuery autocomplete plugin

Im after a plugin to do autocomplete like facebook does in that you can select multiple items - similar to how tagging a stackoverflow question works. Here are a couple I ran into: http://wharsojo.wordpress.com/2008/02/18/jquery-facebook-autocomplete http://www.emposha.com/javascript/fcbkcomplete.html http://github.com/loopj/jQuery-To...

Rounded corners on images with jquery

I know there are jquery plugins to round the corners on divs but is there one that will work on images? The following browsers should be supported: Firefox 3.0, 3.5 IE7, 8 Safari ...

jquery - How to make an element follow the page to a point ?

Hi there, I need to make it so that an element which would normally (depending on resolution) be off the bottom of the viewable area of a page, be floated at the bottom of the page and follow tha page down when scrolled (in a similar way to the effect of position:fixed in css). However I need that element to then stop and stay where it...

advanced jquery selection... first per attribute value

Okay, I'm not sure how to describe what i want to do concisely. So, take the following pseudo-html: <input type=checkbox id=chk1 myatr=1 /> <input type=checkbox id=chk2 myatr=1 /> <input type=checkbox id=chk3 myatr=2 /> <input type=checkbox id=chk4 myatr=1 /> <input type=checkbox id=chk5 myatr=2 /> <input type=checkbox id=chk6 myatr=3 ...

Javascript Menu OnBlur Issue

So I'm creating a javascript menu and trying to implement an onblur event for when a user clicks something outside the menu so it will collaspe. To implement this, I simply attached an event to the window and looked for any clicks and if it nor its parents elements didn't meet a certain criteria then I would close the menu. This works ...

iPhoto-like image resizing using jQuery

Here is the effect that I need: http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/ Is there any jQuery plugin doing the same thing? ...

How to change Jquery UI Slider handle

I want to modify the stock JQuery UI slider so that the handle has a arrow on it rather than being a square. i.e. I want to use a custom image as the handle. There are a few tutorials that do it: http://jqueryfordesigners.com/slider-gallery/ http://www.ryancoughlin.com/2008/11/04/using-the-jquery-ui-slider/ http://www.keepthewebweird....

Alternatives to jQuery UI Resizable

Does anyone know of any alternative jQuery plugins to the resizable function in jQuery UI? My main focus is on constraining the bounding box (parent), and the aspect ratio of the image. ...

how to display message in conditional jquery validation plugin

I have this condition in my validation: consent: { required: function(element) { var age = getAge($("#birthdate").val()); if(age >= 18){ return false; } else if(age >= 13 && age <=17 ){ $('#consent:checked'); } else { //should show error message not ligible to register } } } how can re...

Javascript Namespace Conflict

I have the following plugin, which takes a partial game name, bounces it off our DataQuery object to get a list of items from the server (basic autocompleter/selector). The problem I am having is this. I am using it on a page, where the selector appears in a dialog box. When the user is done, I 'destroy' the selector, and then recreate...

jQuery Plugin Namespacing Functions

I'm creating a jQuery plugin that that is rather large in scope. In fact, the plugin technically consists of a few plugins that all work together. (function($){ $.fn.foo = function(){ //plugin part A } $.fn.bar = function(){ //plugin part B } $.fn.baz = function(){ //plugin part C } }(jQue...

Pie chart with jQuery

Hi all, I want to create a pie chart in javascript, On searching I found the google chart api. Since we are using jQuery I found that there is a jQuery integration for google charts available. But my problem is here the actual data is sent to the google server for creating the charts. Is there a way to prevent this or can any one sugg...

jquery cycle: return to the first slide

The slideshow can be stoped by: $(this).cycle('stop'); Or it can be paused by: $(this).cycle('pause'); But how can I stop/pause the slideshow and return to the first slide at the same time? ...

Is there a standard way to do a docblock for jQuery plugins?

I am wondering if these is any standard for providing a docblock for jQuery plugins. And is it best to show how to pass in the config JSON object and should I explain the defaults? e.g. superPlugin v1.1 @author Me Myself @options something Can anyone provide any links? Thanks UPDATE I've ended up just modifying th...

jQuery Plugin for HTML Editor with Syntax Coloring

I'm looking for a jQuery Plugin that will display a textarea for HTML authoring & editing. The things I'm looking for: Must support authoring the HTML, not a WYSIWYG representation Must color the HTML as you type as any rich-client IDE would. Should be jQuery, but native JS would be OK too. I have played with MarkItUp which gets...

JQuery: Why is hoverIntent not a function here?

I'm modifying some code from a question asked a few months ago, and I keep getting stymied. The bottom line is, I hover over Anchors, which is meant to fade in corresponding divs and also apply a "highlight" class to the Anchor. I can use base JQuery and get "OK" results, but mouse events are making the user experience less than smooth. ...