jquery-plugins

Nested optgroup solution from drop down list

I have a drop down <select> list of pages in a site, however the structure is quite complicated to go in the list e.g.; Home Projects Category 1 Item 1 Item 2 Item 3 Category 2 Item 4 Item 5 Item 6 Category 3 Item 4 Item 5 Contact Accessibility Sitemap What I want to do is say "select a page to link to" and then present the ...

How does Gmail handle back/forward in rich JavaScript?

Gmail seems to have some clever way of handling the back/forward buttons in a rich JS application. In my organisation we trialled the jQuery history plugin. The plugin basically runs a function every 100ms which parses the URL and tests if it has changed. The history is tracked by HTTP anchors, and if the anchor has changed then the plu...

jqGrid - filtering cells with html

I'm trying to use jqGrid's (3.7.2) toolbar filters, but some of my cells contain HTML that interferes with the filtering. My idea was to virtually strip the HTML just before comparing it to the search query, but I couldn't find where the comparing actually happens. Does anyone know how to do such thing? Any better ideas? Thanks! tableT...

externalizing a parameter in a jQuery plugin

I have a jQuery Tabs plugin, i am trying to externalize the parameter taht would define wich tab is selected on page load: the extend part of the plugin is: jQuery.fn.tabs = function(settings){ //configurable options var o = $.extend({ trackState: false, //track tabs in history, url hash, back button, page load srcPath: 'jQuery.h...

Is there any jquery plugin that does google images like smooth hover effect?

Is there any jquery plugin that does google images like smooth hover effect? Any plugin to look at? ...

jqgrid - change column header name automatically according to the width

in my site , i have a jqgrid table. by default, the names of the columns (header) is longer than the width for column, because that i set the name with an ellipsis. however, when resizing the column, the short name with ellipsis stays. how can i get it work automatic , like the ellipsis should disappear and change to the full name wh...

Jquery Countodwn issue.

I have implemented a JQuery countdown as listed on http://keith-wood.name/countdown.html. Its working fine with all the configurations, but there is a lag in it as a client changes his time countdown gets effected with it. Do i implement the server sync method or is there is other solution with it? ...

jQuery image maps draw border

Hi everyone, I'm dynamically creating image maps using the jQuery Image Map emulator which works fantastically. (Basically a user defines what area of an image is selectable using jQCrop and that becomes with image map). I was wondering if anyone knew how to make that area with a border (or any styling) so that the image map is visible...

Jquery fadeIn not working first time around in FF. Why?

Issue: When page runs in FF 3.6 the fadeIn doesn't show, until after you've cycled through the galleries, then it works. How can I fix this? Jquery Code $(document).ready(function() { $("#gallerylinks a").each(function(index){ $(this).click(function(){ $(".gallerymain").hide(); $("#gal"+index).fa...

Select area on click with jQuery and imgAreaSelect

Hi guys, I've been looking into this for some time now and I didn't manage to add this functionality to the imgAreaSelect jQuery plugin. What I basically need it to do is to select an area on click if minWidth and minHeight are specified; so besides dragging and dropping in order the select an area, the user could just click and have t...

Can I attach colorbox to head?

I am using Colorbox 1.3.6 with jQuery 1.4.2. Somehow the folowing code did not work for me: $(document).ready(function() { $.colorbox({href: "something.htm", open: true}); }); which won't show up automatically, but this one works: $(document).ready(function() { $("#some_element").colorbox({href: "something.htm", open: true});...

jquery validation messages for fields

Hello All, I am having difficulties while trying to customize the jquery validate plugin. For validating each field, the validate.js is working fine and displaying the proper message near each field, but I need to add one more feature is that when it is right, the textbox border should be in green color and if it is wrong the color sho...

Fancybox requires jQuery 1.3+, found 1.2.6. Error in drupal

I am using fancybox module for image display in drupal 6. and while changing the setting i got this error. Fancybox requires jQuery 1.3+, found 1.2.6 and they are asking for packed version. and from Jquery v-1.3 there is no packed version available. Can anybody tell me how to solve it ...

Overlay in jQuery UI toolkit

Is there any overlay in the JQuery UI toolkit that offers a context arrow to the link/content that it relates to? ...

simple modal contact form wordpress plugin gives "404 not found" on submit

I had this simple modal contact form working fine but must have broke it somewhere along the way and can't figure out where. Now when I hit submit I get a 404 Not found. In Firefox the 404 message never shows and from the Error Console I'm seeing the following error repeated: Error: uncaught exception: [Exception... "Component retur...

jquery ajaxupload 3.5 plug-in

I am having a little problem with this ajaxupload.3.5.js. When you click on the upload button first time, nothing happens. You have to click on it again to open up the file browser. Is there a way to fix this? thanks in advance. http://code.google.com/p/framework-abdh/source/browse/trunk/ABDHFramework/Scripts/ajaxupload.3.5.js?spec=sv...

How to Show "Radial Menu" jQuery Plugin at the Page Load?!

Hi Guys, I am Not Familiar with JavaScript and i am beginner in Jqyery! I Found RadMenu Pluging from web and want to use it to show my links as a Radial Menu. it is OK but I have a Simple Problem With it. I want to khnow How Can I "Load"(better to say "Show") Radial Menu at the Page Load?! I can Show or Hide the plugin with this codes: ...

Embed html into an existing div

When the html is returned from django views <script> //The following is in the ready function $("#data").html("{{dict.html}}"); </script> <div id="data" name="data" style="display:block;"></div> The following html is displayed on the screen.How to embed this html into data div <ul ><li ><a ><ins> </ins>Ses</a><ul...

How to add anchor-based URL navigation to jQuery masonry

Hello I'm looking for a way to add anchor-based URL navigation to jQuery masonry.. Here's the example: http://desandro.com/demo/masonry/filtering.html I'm trying to be able to direct people straight to a filterable class (ie: ../filtering.html#red) Seems like there should be an easy solution but I'm a Javanoob so I would really apprec...

jQueryUI sortable,draggable revert event

Hi, I have a problem with jQuqeryUI. I would like to run some code whenever an element is dragged and dropped on an invalid target. As far as I can see, there is no predefined event for this, but I have thought about combining information from following events: over, out, remove and stop, to achieve this. However that might sound like it...