jquery-plugins

jQuery - what's jQuery plugin

Hello folks, can somebody tell me what is jQuery plugin? I have used the jQuery library to build some small UI enhancements but i have no idea how to implement a plugin. Any suggestions on how to get started? TIA ...

Using 2 JQuery Autocomplete

Hi All! I am using the JQuery Autocomplete Plugin 1.1. When I try to add autocomplete to 2 inputs in this way: $("#object_ac").autocomplete("autocomplete_search.php", { extraParams: {object:1}, width: 160, selectFirst: false, minChars: 2 }); ...

JQueryTools live?

I´m using JQuery Tools http://flowplayer.org/tools/ in one big project. The issues is: When I load a page using ajax all this JQuery Tools stuff stop working. I know I have to re-bind the events or use jQuery.Live but I don´t know how to do this with JQuery Tools. I need methods like $(".element").overlay(...) $(".element").tabs(...) ...

jQuery SimplyScroll - moveBack function question

I am working on a project that uses SimplyScroll to scroll the images auto scroll infinitely. Like this example (http://www.logicbox.net/jquery/simplyscroll/horizontal.html). At the same time, I want to add buttons on each side allow the user to scroll and forth by the direction of they are clicking. So, I have hover event to pause th...

Add title to jQuery Cycle slideshow from Alt attribute?

I am building a slideshow and need to have a title appear for each picture that get cycled. I created alt attributes for them and am trying to have cycle display them for each image, but It only shows the first one. I am unsure how to get the code I have into the cycle "loop" for the gallery? Does this make sense? here is what I have, (w...

jquery - deciding whether a user is "away"

hi, im doing a little test to check whether the user is "away" (unactive) or not; function away_status(){ $("#away_stat_update").everyTime(1000, function(i) { var number = Number($(this).html()); if( number == 20 ) { // set user as away alert( "user away" ); } if( number > 20...

Create Featured Content Slider JQuery - amending the time of banners

Hi I am using the following code for my banner. I have got 6 set up. what I want to do is specify the time each one appears for. I can change this for all of them but I want to set them indivdually? http://webdeveloperplus.com/jquery/f...ry-ui/#respond The bit of code that chnages the speed is. How can I indvidual set each of the 6 ba...

JQuery Window blinking

Hi All I am developing a chat application(Customer and operator). Using jquery Ajax and PHP . From customer side he can handle multiple chat.. For example ha have two chat.. How he knows in which window the new msg comes.. I can take the count . But is there any option in jquery to blink the window when count change ? ...

how to make jQuery plugin return the wrapped set ?

how can we make the jQuery plugnin to return the wrapped set?so that using the plugin does not make the code loose the chaining property. ...

JQuery treeview - add node(s) in middle of tree

Hi all, I'm just getting started with JQuery and the treeview plugin so this should be a relatively easy question: The example code for adding branches to the tree: var newnodes = $("<li><span class='folder'>New Sublist</span><ul>" + "<li><span class='file'>Item1</span></li>" + "<li><span class='file'>Item2</span></li></ul><...

jQuery Max Length Plugin

Is there any plugin for jQuery that would take an argument for the max length of a field and then size the width of the same field in respect to it? ...

Programmatically submitting a form while using AjaxForm

I wanted to find a way to upload a single file*, in the background, have it start automatically after file selection, and not require a flash uploader, so I am trying to use two great mechanisms (jQuery.Form and JQuery MultiFile) together. I haven't succeeded, but I'm pretty sure it's because I'm missing something fundamental. Just usin...

jQuery fancybox plugin not centered in safari or chrome, but is in firefox.

I've just installed fancybox on my site, and it works perfectly in firefox, but when I try it out in chrome and safari, the fancybox is not centered in the browser window. Any insights? You can view a demo at: http://kotyy.com/kotyy/lindseyandasp/test2.xhtml ...

Is there way to extend jQuery to handle a custom enter key event?

I write the following code all the time to handle when the enter key pressed: $("#selectorid").keypress(function (e) { if (e.keyCode == 13) { var targetType = e.originalTarget ? e.originalTarget.type.toLowerCase() : e.srcElement.tagName.toLowerCase(); if (targetType != "textarea") { e....

JQuery plugin for progressive enhancement of select drop-downs to muli-column display

Anyone know of a jquery plugin that can convert the contents of a select drop-down list to a multi-column panel? Ideally, I would want to also support option groups, so that all the items in a group would stay together in a single column. Here is an example of what I mean: ...

jQuery Cycle Plugin pager adding extra numbers, but no slides

Built a theme in HTML/CSS and customized a the cycle plugin to be a gallery with pagination. Worked perfect, now turning the theme into wordpress, and the pager is adding extra numbers, like blank slide between each image. Anyone seen this before? ...

window.focus(), self.focus() not working in firefox

Hi all i am developing a chat application ... i have multiple chat windows ... i want to know which windw contain new message ... i have the following code .. function getCount() { $.ajax({ type: "POST", url: baseUrl + '/Chat/count', data: "chat_id=" + document.ajax.chat_id.value, success: function(msg){ ...

FancyBox, Obtaining an ATTR of the item clicked

I have the following lines of code: $("a.quickview").fancybox({ ajax : { type : "POST", data : 'itemID=' + $(this).attr("name") } }); Which is binding on: <a name="614" class="quickview" href="/URL/index.cfm">quick view</a> I want data to post as itemID=614, but $(this).attr("na...

jQuery Cycle plugin IE6/7 issues

I've implemented a slideshow using the Cycle plugin, which is working in all browsers except IE6&7, where the images just show up in a list, and the #page_copy div is not hiding. I've been going through the code all day without any luck, and not exactly sure how or what I should be looking for. What would be the best way to go about de...

Jquery Plugin Help

I'm using this plugin: http://www.jeremymartin.name/projects.php?project=kwicks And my code follows this example: http://www.jeremymartin.name/examples/kwicks.php?example=7 I'm using the configuration setting of: sticky: true, The plugin sets the first element in the list to be active and expands to display the content that hidden f...