jquery-plugins

pre loader for image slider (jquer plugin)

image slider 1.How to load all images before hit the next button , 2.How to add the loader for this plugin(When i hit the next / prev button) ...

start /stop jquery menu

when using jgrowl and if we invoke the following to close all the menus $.jGrowl(data); $.jGrowl('shutdown'); How to start it back. The following gives an error $.jGrowl('startup'); Thanks. ...

jquery ui-menu plugins

All, Is there any light tool in jquery which produces a menu like tipsy tooltip or jgrowl with onclick event Thanks. ...

Why does jQuery.cssRule plugin have to add rules to all style-sheets ?

I tried to use $.cssRule() plugin and found that it makes it inconvenient to debug those rules in FireBug because each rule appears to be attached to every css file loaded on my page and consequently defined many times. Source code shows that it does that on purpose inside that for loop: for(var i = 0; i < document.styleSheets.length; i...

jquery validate multiple or indivual containers for errors

Hi, is there a way to choose different containers with the jquery validate plugin for showing the errors in an independent container or a way to create a new container for every error but not just use the same one ? currently my code looks like this: $(document).ready(function(){ $("#loginForm").validate({ errorClass: 'err...

How to Restore an Element Removed with jQuery?

if an element is removed using $('.notification').remove(); How do we create it back. ...

Jquery submit multiple links

Hello, I have a page where I am displaying a list of users and next to each user - there is "Add as Friend" link. Now when a user clicks this "Add as Friend" link - I want to call Jquery and submit that request to the backend PHP. Typically my experience with Jquery involves having a single form in the page and submitting that form vi...

Any tool to add linenumbers in jquery

All, Is there any tool to add line numbers in jquery to a textarea. Thanks.. ...

jquery weird error in jgrowl

All, I use jgrowl to display certain content ,and i had got this weird error today $(this).data("jGrowl") is undefined in jquery.jgrowl_compressed.js file in line 59 which points me to the followong line, $(this).data("jGrowl").created=new Date(); And in my project js file i have the following code if (data) { $('.jGrowl-notifi...

Is there a Rails or JQuery date picker that includes a predefined set of named ranges?

Before I roll my own (again, I already did this once in Java), is there a date picker that allows predefined named ranges in addition to the standard user-chosen dates. For example, I want the user to be able to choose 'Today' or 'This Week' or 'Last Month' and store it in such a way that it's relative to the time I access it, not based ...

Using horizontal accordion jQuery plugin for multiple websites

Is it possible to use a horizontal accordion plugin such as this one that opens web pages inside each slide? For example, one slide would be your email client, another could be a social networking site, and so forth. ...

localscroll's hash option, flickers the page when scrolling. How can I make the scrolling smooth

I'm implementing a jquery plugin (localscroll) to smooth scroll to named anchor elements withing a page. localscroll supports an option called 'hash', what it basically does is it appends the named anchor hash into the URL making it easy for the user to bookmark and move using the browser back/forward buttons. HTML <ul id="navigation...

How to select the currently clicked anchor element in jquery.localscroll?

I want to get the handle of the currently clicked link in jquery. Suppose, I have a bunch of li a elements: HTML <ul id="navigation" class="main_menu"> <li><a href="#panel_home">Home</a></li> <li><a href="#panel_story">Story</a></li> <li><a href="#panel_mantra">Mantra</a></li> <li><a href="#panel_showcase">Showcase</a><...

How to wrap very long text in jgrowl

How do I wrap very long text in jGrowl? Right now, if the text is long it just tosses out of the page. Thanks. ...

Execute function while mouse is at certain position

I'm trying to do something like this: var mouseY = //mouse y-position relative tot some element while (mouseY > 0 && mouseY < 200){ //scroll element -5px } I want to scroll a certain element up as long as the mouse is within a certain area of an element. Getting the mouse position and scrolling is not the problem (using scrollTo...

How can I emulate the Jquery UI API?

I've written basic jQuery plugins before, but I'm struggling to get my head around something more complex. I'm looking to emulate the API of jQuery UI, which works like this: $('#mydiv').sortable({name: 'value'}); // constructor, options $('#mydiv').sortable("serialize"); // call a method, with existing options $('mydiv').sortable('opti...

How to remove value from hidden field using jquery.autocomplete

I have a page with two inputs: users_list and users_ids. jquery.autocomplete is used to autocomplete the users_list. users_ids is hidden field. When the user is selected and added to the users_list his id is added to the users_ids. Everything works fine. But the question is how to remove the value from user_ids if the user is removed fro...

JQuery modal window with animation?

Is there a way to show an animation when showing the JQuery modal window? When a user clicks on a button, I would like the modal window to do slowly emerge out of the button. ...

JCarousel animate on mouse over

Can the JQuery plugin "JCaousel" be configured to animate when the mouse is hovered over the next or prev buttons? I have tried using the event "hover" but this didn't animate at all. I have tried using the events "mouseover" and "mouseenter" but both of these only animate one time when the mouse is positioned over the button. The use...

JQuery Ajax Plugin File Upload simplify code

Hi I am currently using Valums JQuery File Upload plugin. The plugin is very convenient to use, but I do not like how the code looks. Because it occupied inside document.ready such as: $(document).ready(function() { var button = $('#button1'), interval; new AjaxUpload(button, { action: 'http://test.com/user/uploadfile', n...