jquery-plugins

centering jquery tabs

i've borrowed some code from link text to nest tabs using jq everything is ok 'cept I cannot work out to center the tabs using the YUI library, this is v easy. However, I can't use the YUI library coz my command of JS is negligible and fitting my php to their code is murderful and a time-waster. are there ways to center jq tabs ? Tom...

What are options for jQuery Grid with Panel and Menu bar

First some context - I have already tried different jQuery related plugins like jQuery Sheet, jqgrid etc.But what I really need is a consolidate sheet/grid like windows excel that also has Menus, and Panels. Or I would have to glue different jQuery plugins to get this effect. Thank you, in advance. ...

check for overlap

Hi everyone, I'm using FullCalendar and just wanted to know how I can check for overlap date and time. I have a start and an end date but dont know how I can accomplish this. Any suggestion/ideas/inputs would be helpful. Regards, Yuepheng ...

jQuery AutoSuggest Plugin - preFill options not working.

I'm using this jQuery AutoSuggest Plugin. It's pretty well documented, but there is a built-in option called preFill that doesn't seem to be working. A few people including myself have had this issue on their support forum. We may just not be entering the option in correctly. There's not a good example in the documentation for how to e...

Several modal windows with jQuery simplemodal plugin

Is it possible? For example my first modal window appended to 'body' and has z-index: 1002 if I'm trying in FireBug open new modal window (appended to 'body' or existed modal window) with z-index more then 1002. I've just see 'false' as the result for example: $.modal('<h1>First modal</h1>'); and then in console $.modal('<h1>Next ...

Prevent Galleriffic jquery plugin from reloading the same image twice

Is it possible to prevent the Gallerific plugin from reloading the same image that’s already showing? For instance, if a user clicks on the same thumbnail twice, the gallery image reloads. Can Galleriffic determine that the user is requesting the same image twice and thus should not reload until a new image is requested? ...

In jQuery, how does the this.each() work?

To make my question more specific, I read the documentation on .each() for jQuery, but I am a little more confused. I have this code: $.fn.imgAreaSelect = function (options) { options = options || {}; this.each(function () { if ($(this).data('imgAreaSelect')) { if (options.remove) { $(this).data('imgAreaSelect'...

Critique My JavaScript Search Array Function

I have been doing tons of Ajax recently and work with lots of my domain objects converted their JavaScript counterparts. I found myself writing several functions that looped through the arrays of objects to search by property values. I decided to write a simple jQuery plugin that would allow me to search an array of primitive or complex ...

jQuery cycle plugin addslide function with random

Hello, When I attempt to use the random option with the addslide function (here) which progressively adds images to a slideshow after it has been started, I recieve the error: 'next is undefined'. How would I go about having the slides added progressively in a random order? ...

Unable to display ToolTips

All, I am trying to get JQueryUI tooltip and Tablesorter plugin to work together. I am unable to display the JQueryUI tooltip when I hover on the names but they won't appear after I click the "Reset Sort Order" link. How can I make sure the tooltip is displayed after I click the "Reset Sort Order" link. The tooltip should also be displ...

Looking for jQuery Plugin - Mix of jCarousel and FishEye / Dock

I'm looking for a jQuery plugin that is a carousel mixed with a fisheye effect, where the center images would be larger and the outer images slightly smaller. I've searched to no avail, and really don't want to have to create this, so I'm hoping I'm missing a good one. Basically, need a mix of something like these two: jCarousel - h...

attribute value

I have an atribute test that I get the value of like this $('#row').attr("test"); now I need to put this in a loop and get the value but its not working. This is what I am doing for(var i=0; i=mySpansCount; i++) { var x=($('#row').attr("test")); alert(x[i]); } All I am getting in alert box is undefined. Thanks ...

In jQuery, using $.extend(), is this redundant?

Hey, I was wondering if setting an object equal to $.extend(), but setting the target to the same object is redundant? setOptions(options = $.extend({ classPrefix: 'imgareaselect', movable: true, resizable: true, parent: 'body', onInit: function () {}, onSelectStart: function () {}, ...

In javascript functions, can you set this.function = function?

I have run into this jquery plugin and i quite understand how this works: $.functionone = function(){ function setOptions(newOptions){ ... } this.setOptions = setOptions; } What i dont understand is what does this actually do? this.setOptions = setOptions can you call a function without parenthesis? What is the re...

Jquery Plugin Drag & Drop sample

Hello All.... I have a requirements, where I have to implements the drag & drop functionality for end client. From where end - client can drag a table fields in which they are interested. and even remove the dragged field back to the list. It would be great if anybody can provide me some demo link with source code... Thanks in advanc...

jQuery plugin to highlight source code

Are there any jQuery plugins to highlight the source code shown in an HTML page? If there are more than one, which one is better to adopt? ...

Trying to bind colorbox event to a (jquery captify) caption link

Hi, I'm using jquery captify to show a Change Picture link when users hover over their avatar, and I want the link to open a modal window using Colorbox. For some reason, I can't seem to bind colorbox to this link on first page load. If I click the link, the default event is not prevented and a new page is loaded - if i press the back bu...

how to change jQuery autocomplete plugin default querystring key? (term to that i want)

hi, jQuery autocomplete plugin sent request like this mysite.com/suggestion?term=Sadegh is there any way to change term querystring key to another? i can't find option that provide this for me ;) ...

How to re-load a jQuery plugin on page resize?

I'm using the Galleria plugin in an AP div that is elastic. Galleria centers and crops itself nicely on page load but doesn't handle resizing so gracefully. If I resize and then reload the page, it looks great, so I'm wondering if there is a way to unload/reload the plugin ONLY on resize? ...

Load Ads after the page Loaded With jQuery

I wrote a plug-in for jQuery that copy the the output of the ads JavaScript to there container Div. so i put the Ads JS at the bottom of the page (so they will not decrease my page load speed) within inadvisable Divs that looks like: <div id="ad_loader_4" class="ads_loader"></div> the id of those divs point to the container divs. the...