jquery-plugins

How to use JQuery Validate to create a popup with all form error when the submit button is clicked?

I am using the JQuery Validation plugin for client side form validation. In addition to the colorful styling on invalid form fields, my client requires that a popup message be shown. I only want to show this message when the submit button is click because it would drive the user crazy otherwise. I tried the following code, but errorLi...

How to disable an input with jQuery Validation Plugin

This should be really simple but I can't get it to work, how do I disable and add a class to an input? Let's say I've got an input field with id = name, this is how far I got, $("input#name").attr("disabled"); What am I doing wrong here? Any help would be greatly appreciated, thanks in advance! ...

Is it possible to use JCrop to select multiple area in an image?

I am looking for a solution where I can mark couple of hotspot area in an image. Found JCrop is very well designed for that. But it allows single area to be highlighted but I want a JavaScript solution where multiple area can be highlighted. Can JCrop do this or are there any other API available? ...

Looking for an extended version of Lightbox

Hi All, I am not sure how to put this, maybe I'm not able to search it properly I'm not sure what is it called but I am looking for a script which is a kind of an extended version of lightbox script. I want to place some images in my website which when clicked opens as lightbox and can go next and previous but the trick is the next imag...

jQuery Drawing Plugin

Camarades, You'd know me identify good libraries (preferably in jQuery) to work with "Canvas" and drawings in javascript / html. I want to make my page more interesting, especially in some registries (registry of cars) and would like to draw a car and be able to go changing the number of wheels for example. Many thanks for any help. Su...

[validate plugin] custom rule error

hi i have added a rule to my form but i can't understand why it does not work!! http://www.pipelabitta.it/form/ This is an example page: the rules is that the check box must be checked and there must be a valid date. From firefox console i can see it returns true or false as i need but the validation does not get triggered. Why is ...

Jquery set defaults for all instances of a plugin

Given the following plugin how would you set defaults for all the instances? I would like it to work the same as $.datepicker.setDefaults(). (function ($) { $.fn.borderSwitcher = function (options) { defaults = { borderColor: 'Black', borderWidth: '1px', borderStyle: 'solid' }; return this.each(fun...

horizontal scrollbar

Hi, i need a good plugin/script for a horizontal scrollbar (has to be able to go right-to-left) any recommendations? ...

How can i use jquery datepicker with struts 2 theme css_xhtml?

I am using struts 2.1.8.1 and if i use struts2-jquery-plugin.2.2.2 datepicker dosn't appear. if i use struts2-jquery-plugin-2.0.0 it apperars but i can't use it with theme css_xhtml. Is there a way to solve this? I want to use it with css_xhtml theme. ...

My broken jQuery slide down menu using hover()

I have an html link that has uses hover() (well, the hoverIntent plugin...but same difference) to trigger a div to slidedown (I animate the CSS top attribute). This all works and looks perfectly, except that when the mouse moves off of the hyperlink and onto the div that contains the menu links, it immediately triggers the mouseleave e...

[validate plugin] check exact value for radiobutton or checkbox

hi how can i check that the value of my checked radiobutton / checkbox (between two or more) is exactly the one i want? at the moment if i check a radiogroup the validation returns always the value of the first radiobutton / checkbox. If it's not clear i'll put up an example page. Thanx Vitto ...

jQuery captify conflict other jquery code

I am using the jQuery captify library to add a simple "Edit profile photo" link when a user hovers over their profile pic. The text which is shown as the caption is a link which I want to to show in a fancybox modal window. For some reason, captify is preventing the link from being bound to fancybox and always does the default link event...

how to use jquery.searchfilter.js independently from jqgrid

hi I wan't to now how to use the search filter, specifically the multi search, independently from jqgrid. i wan't it to be able to post its values to my action via a struts 2 link or button and have additional option not included in the column of the grid of a jqgrid column. thanks ...

In jQuery, what does $.fn. mean?

In jQuery, what does $.fn. mean? I looked this up on google but couldn't find any concrete examples. $.fn.something = function{} ...

For the function (function($){})(), I've seen it with the word jQuery in it, why is that?

For the function (function($){})(), I've seen it with the word jQuery in it, why is that? I have read this page http://stackoverflow.com/questions/1925291/javascript-why-does-jquery-do-this-function-and-how-does-it-work but it didnt tell about an example like this: (function($){})(jQuery); What does that jquery in the parenthesis do?...

jqGrid horizontal scrollbar

Hello. I developed AJAX interface with jQuery and jqGrid. How I can remove horizontal scrollbar from my jqGrid table? http://dskarataev.ru/jqgrid.png If I set autowidth: true, then I get width of table = sum width of columns, but I need width of table = width of parent element with id returned by function getSelectedTabHref() so I m...

Image Resize problem in jqFancyTransitions.1.8.min.js

I am using jqFancyTransitions.1.8.min.js My Operating System is windows 7 x86 Please provide any additional information below. When i m using Multi sized images. The small images comes in tile property here i m attaching the demo file. Please solve this prob as soon as possiable. Thanks in Advance. Regards Vishal chuahn Mail:vishnam...

Using lightbox_me for forms in rails 3

Hello I would like to use the jquery lightbox : lightbox_me in order to manager my new and edit forms. My forms are working in simple AJAX, but I don't know how to do to include them into the lightbox and make it works? Any advise? Thanks in advance. Fabien ...

Distribution of data in the circle

Lets say I have elements (E1, E2, ... ,En) that have individual values which varies in [1; 100]. I have a circle (see figure below) and each two circle represent range of data. The problem is how to show distribution of these elements ofEin this circle. Figure below depicts distribution of some elements ofEin the circle, where for exam...

Do I use jQuery noconflict to avoid plugins conflict?

UPDATE: I've found that the jquery.bxslider plugin itself clones and appends/prepends the LIs causing the trouble. No solution to this though, except maybe using another script :( I'm having to jQuery plugins partially conflicting with each other, Boxslider (an image slider) and Colorbox (a lightbox). They both work, but the slider ...