jquery-plugins

Help turning jQuery script into a plugin

Easy All As I've been learning jQuery lately, I decided to write my own modal window to play videos in, when the video thumbnail is clicked. It all works fine, but I'm just wondering how could I turn it into a plugin, so I could use it on different pages with different parameters etc. I read the documentation, and a few tutorials, but I...

How do jQuery modal box plugins compare?

There is a huge number of jQuery modal box plugins out there. Jitter lists 20 of them in this response (http://stackoverflow.com/questions/1656086/modal-windows-plugin-to-rails#1656105). Which one do you use and why? If you use different ones in different cases, how can they be broken down categorically by use-case? ...

jQuery tablesorter + tablefilter and dsiable some table header sorting

Hi, I have the following Javascript, it's not working the way I want it to. I want to disable sorting with some header. The problem is when I put the first function to disable the some header, it makes other header one-way sortable only, though they should be two sortable. $(document).ready(function() { $("#TimeSheet").tablesorter({...

jQuery Plugin Authoring - Set different options for different elements

I have created a jQuery plugin that works great with the exception of being able to call the plugin on different objects and each object retaining the options it was given. The problem is that if I call the plugin on one object, say: $('#myDiv1').myPlugin({ option1: 'some text', option2: true, option3: 'another option value...

Using jquery plugins inside prettyPhoto

I have been trying to combine prettyPhoto and 'Simple Jquery Panorama Viewer' with little success (especially in IE!!). I have attempted to use the inline method with the panorama viewer in a hidden div, didn't work. So I tried pulling it through from a seperate page using iframes - didn't work. I am guessing there is a conflict between...

jQuery sortable very slow in IE8

I've appended a sortable jQuery plugin to my list of divs using 1.4.1 jQuery. The function that is called on the page load is pretty simple. $(function() { $('#divEditFieldOrderModal_FieldList').sortable( { axis: 'y', cursor: 'pointer', placeholder: 'sortOrderPlaceholder' }); }); This divEditFieldOrderModal_FieldList contain...

Why doesn't filterJSON work with more complex JSON hierarchy?

I would like to use jQuery filterJSON with flickr, and I found that it does render remote JSON files and not only local ones as shown in its author's demo page. When replacing the default path to local JSON file with remote Twitter JSON file, it renders fine. BUT when using other JSON feeds like the flickr JSON in the code below, returns...

Getting a jqgrid action helper to work

Hi After a few searches I came across a jqgrid action helper that I could include into my Zend MVC. However after downloading the source and trying to use it I get this error Fatal error: Call to a member function getActionController() on a non-object in ..... \Controller\Action\HelperBroker.php on line 299 Here is an excerpt of the ...

jquery datagrid plugin and jquery inlineEdit plugin

Hello, I am using jquery datagrid plugin to display my results in table. I have also used a jquery inlineEdit plugin. Both work finely. Until after pagination(say page 2) the inline plugin doesn't work. what would be the problem? thanks v.srinath ...

What's the easiest way to call a function every 5 seconds in jQuery?

I'm looking to automate the changing of images in a slideshow. I'd rather not install any 3rd party plugins if possible. Thanks. ...

How can I stop a javascript from being interpreted after a certain point?

The first few lines of my script look like: if (window.location.hash) { window.location = window.location.hash.substring(1); } I'd like to have the entire script "skipped" if this statement returns true. Is there any way to do this other than putting my entire script in a giant if statement? Thanks. ...

Feedback tab like www.monyta.com

I am interested in adding a stick feedback tab to be hosted on my page. No third party ones like uservoice, monyta, getsatifaction.. etc. It should be sticky while scrolling vertically and the tab should slide out showing a form to be filled out and submitted, very much like monyta. Any JQuery plugins (or plain Javascript) which do thi...

Need to disable JQuery Table navigation when focus in on an input field.

Hi, I need to disable table navigation when the focus is on an input field. I could bind to the keypress/keydown events and do it. Does table navigation support something for this? Any other suggestions welcome. Kind regards. ...

jquery table sorter plugin

Hi, I need jquery grid with pagination,search and inline edit option. I used tablesorter but after page 2, inline (jquery plugin) edit problem occurs. I have tried flexigrid. thanks v.srinath ...

JQuery Validation Plugin: Ensure Form Field is not a specific Value

Hi there, i am using the Jquery validation plugin, sourced from here. It is function well for required fields, email etc, however I would like to set up some specific validation rules for certain form fields. For example, I have a select form field which contains the following options... <select name="salutation" id="salutation" cl...

Active JQuery resource/directory with RSS news feed

I want to be updated every day with the latest JQuery news and new releases of plugins. Any active JQuery web resource with an RSS feed which I can subscribe to? ...

How to make jquery autocomplete to work for a contenteditable DIV instead of just INPUT, TEXTAREA fields.

The jquery autocomplete provided by http://docs.jquery.com/Plugins/Autocomplete can work on a INPUT field or a TEXTAREA field. I have a use-case to make a DIV element act as a TEXTAREA by setting its attribute to contenteditable="true". Can I use the DIV's DOM handle for the autocompleter to behave as a textarea for the autocompleter. Cu...

JQuery Validation Plugin: Use Custom Ajax Method

Hi Looking for some assistance with the Jquery form validation plugin if possible. I am validating the email field of my form on blur by making an ajax call to my database, which checks if the text in the email field is currently in the database. // Check email validity on Blur $('#sEmail').blur(function(){ // Grab E...

jQuery Ajax FormPlugin: Grab Ajax Response

Hi there I am using the ajax form plugin to handle my ajax submissions, like so.. // Submit Form New User $('#setAdminUser').ajaxForm({ beforeSubmit : validateForm, success: ajaxSuccess }); // Ajax success callback function ajaxSuccess(){ // Do processing here // Create div, containing the response fro...

Help using SimpleModal plugin (JQUERY)

Hi I am trying to use the Simple Modal plugin working, but when I click the link, the dialog box comes and goes away quickly. I am just trying to get a simple dialog running as shown in http://www.ericmmartin.com/projects/simplemodal/#examples. Please advise how to make it running. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitio...