jquery-plugins

How to use multiple jQuery Plugins in one File

I have to use jcarasoul and Lightbox plugin both together in a file of php. the Jcarasoul is working fine for the light box all paths are correct but it always says that $("#gallery a").lightbox is not a funtion. Same as for fancy box or how do I can use Lightbox2 of prototype with jQuery. I used the below for no confliction var $...

jQuery tipsy: manual triggers and delayIn

I'm using the tipsy plugin for jQuery. Whenever I try to call tipsy with both a manual trigger and delayIn, the delayIn doesn't seem to work: $('.interest').tipsy({trigger:'manual', gravity: 'n', html: true, delayIn: 3000}); Any ideas as to why? ...

Display loading.gif until page is loaded in iframe inside jquery ui dialog

I would like to display loading.gif when clicking jquery ui dialog with iframe until page is loaded inside iframe. Does anybody knows something about this issue? Is it possible? Here is my code: $('.dialog').click(function(e) { e.preventDefault(); var $this = $(this); var horizontalPadding = 30; var verticalPadding = 30...

How to use multiple jQuery Plugins in one File

How to use multiple jQuery Plugins in one File? I have to use jcarasoul and Lightbox plugin both together in a file of php. the Jcarasoul is working fine for the light box all paths are correct but it always says that $("#gallery a").lightbox is not a funtion. Same as for fancy box or how do I can use Lightbox2 of prototype with jQue...

Why have the "jquery." prefix on plugin filenames?

I'm curious as to the reasoning behind the standard procedure of prefixing jQuery plugin filenames with "jquery.". Several tutorials state something like: The use of the "jquery." prefix eliminates any possible name collisions with files intended for use with other libraries. I believe I have even seen a couple of plugins that actu...

jQuery Validate (Date Range)

Im using the jQuery validate plugin and was wondering if there was a way to validate if the date entered into a field was a date like yyyy-mm-dd AND the the date falls between Nov 29 2010 - Dec 15 2010 Im pretty new to jQuery so if there is an answer please dumb up the answer as much as possible so i can get through it. Thanks a lot fo...

Tooltip as toolbar: jQuery, CSS, or...?

I'd like to use a tooltip as a toolbar and would like some suggestions on the best way to do so. Here are my requirements: Implemented in CSS or jQuery (or both) Tooltip shows after a second or two of hovering Tooltip has buttons for further UI On mouseout, tooltip remains visible for a second The tooltip remains visible on mouseover ...

jQuery object literal vs jQuery plugin notation

I enjoy writing most of my functionality using object literal notation and wondered what other people thought of it in comparison to jQuery.fn plugin notation? The issue I find with writing code as a jquery 'plugin' is that you then don't get a public 'API' to work with. Take this crude popup box example: $.fn.popup = function() { /...

pagination autocomplete

Hi , Am some free open source auto complete plugin same like this demo link text OR ANOTHER DEMO link text I am looking pagination on auto complete , or auto complete that should contain the pager also, I tell u , why am looking with pager, actually i want to populate uk postcode ,more then of postcode first 3 character like...

Detect if jQuery plugin is applied to multiple elements?

I'm working on a jQuery plugin that can be applied to multiple elements. The plugin includes some animation effects and I need to manage the event queue based on if the plugin is used on multiple elements (instead of one). What's the best way to detect if the plugin has been applied to a single element or to multiple elements? Edit... ...

bind event on generated element and get its current state.

Here is a plug-in that binds a click event on an element, which generates a container with a <textarea> and then i bind a keypress event on this new <textarea>, all is ok, but inside the keypress handler i can only get the state of text().length from when the initial click happened. How do i get the onKeyPress function to get the state...

jQuery clone() doesn't copy <select> DOM properties?

Consider the following HTML : <a id="add" herf="#">add</a> <div class="list"> <select> <option>1</option> <option>2</option> </select> </div> And Javascript : $('#add').click(function() { var copy = $('.list').last().clone(); copy.appendTo('body'); }); (OR : http://jsfiddle.net/5A5pN/) If you choos...

Why is my tooltip not remaining visible on mouseover? (jQuery)

I'm trying to get a tooltip to remain visible on mouseover. It works when you mouseover the first time. But try to mouseout, then mouseover another link and mouseover that tooltip. It will fade. Check out the code on jsFiddle. Would love to know what I'm doing wrong here. http://jsfiddle.net/6FpM8/7/ ...

Cross-browser, clean solution for drop-down menus across frames?

Let me start off by saying I really like Superfish (& jQuery). Unfortunately, this - apparently? - does not offer cross-frame support out of the box. Situation: extranet website, consisting of 2 frames, divided horizontally. The top frame (the smallest one) contains a menu. When hovering over this menu, the "drop down" content gets disp...

disable Keith Wood jQuery Calendars Datepicker

Hi All, I'm using Keith Wood jQuery Calendars Datepicker (not his jQuery Datepicker). In one page, I have many calendar datepicker input (using css as selectors). How to disabled one of them? // js $('.calendar-input').calendarsPicker({ dateFormat: 'mm/dd/yyyy', autoSize: true, showTrigger: '<img src="calendar.gif">', }); ...

How to use jQuery validator & jQuery UI Tab together?

Hello All, i need urgent help, actually i m stuck between jQuery plugins in JOOMLA, i m using two plugins together and now don't understand how to use it... follwing two plugin i m using jQuery Validator plugin jQuery UI tab plugin now what i do.. i have 3 forms that i have attatched with UI tabs. all 3 forms on 3 tabs displayi...

Horizontal Accordion - jQuery plugin - scrolling animation bug on Firefox - how to debug

There is a plug-in for jQuery that allows you to build horizontal accordions, it works great in all browsers except firefox. My main problem is that I'm somewhat unfamiliar with debugging client side code, I'm a Java programmer mostly, although I do have a good understanding of client technologies, actually trying to debug this issue le...

jquery remove check box on condition

In a div there are these check boxes(name="val1") and after a certain operation these check boxes are removed <div name="navigation_b"> <label id="selectall"> select all <input type="checkbox" name="selectall" /> </label> <input type="checkbox" name="val1" /> <input type="checkbox" name="val1" /> ...

Sort 2nd column based on first column sort using tablesorter

when first column is clicked for sorting, it should sort first column and then 2nd column based on first column. but when other columns are clicked they should sort as they should e.g. Name ID Abc 1 ghi 3 cde 2 trg 5 def 4 when name is sorted it should show up like Name ID Abc 1 cde 2 def 4 ghi 3 trg 5 when other...

Only allow Datepicker Button Jquery UI

Hi All, Is it possible to disable the input textbox at which I attached my datepicker and only allow input by clicking the button/icon panel of the Jquery UI datepicker. $(function(){ var opt = { buttonImage: "images/cal.png", buttonImageOnly: true }; $("#date").datepicker(opt); }); What I mean is, the ico...