jquery-plugins

Lavalamp drop down overlapping.

Hello there, I am trying to work with the lavalamp plugin for jquery and add a drop down functionality to that. Both the drop down and the lavalamp effect works fine on this code except my problem is the drop down extends the lavalamp effect. As soon on the pic below. http://yfrog.com/5zlavalampdropdownj i am sure the problem is wit...

How do you set or remove generated label styles from the jQuery Validation plugin?

This is probably something simple I'm just missing from the documentation and examples, but I'm trying to remove a style from the generated label that appears when a field is invalid. This is what I'm getting for a generated label: <label style="display: inline;" class="error" generated="true" for="FirstName"> What I want is: <la...

Can I use jQuery to locate a string of text within the HTML?

I'm just starting to learn about jQuery and am becoming familiar with how jQuery allows me to use selectors to search for particular IDs and classes. But is it also possible to identify strings of plain old text inside a paragraph? For example, say I wanted to find "gasoline" within these paragraph tags and convert it into a link: <p>H...

the number of item and viewing the problem with jquery

hi friends... i'm a graphic designer (: therefore, i will ask questions may seem funny to you.. i want to do something but i've never been able to make a kind.. my english is not good for i want to do with pictures will tell :/ i hope you can tell (: i use them all the code; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...

JQuery form validation - validate form based on other form field

hey guys, I"m using Jquery form validation which in the basic form looks like this $('#shopping_form').validate({ submitHandler: function(){ $.post("/url", { message: messageval}, function(data) { ...... ...... }, } ,rules: { message: { required:true }, price: { number: true } } }); Now I ...

how do i make custom scrollbars with jScrollPane to be always visible

i have scrollbars using the jScrollPane plugin for jQuery. the scrollbar works, all content is with ajax, so for every 'page' load, i add the re-initialization of the scrollbars but when content is shorter than the page, the scrollbars are not visible. this results in 10px extra space for the content, and that is annoying with items usi...

how to code a proper jquery timer to my liking

So ideally here is what I am trying to accomplish (keep in mind I am a beginner, so bear with me): Creating an app that at interval x (let's play with interval x = 15 minutes) a notification pops up prompting the user the take action. So every 15 minutes, take action (so you know, to alert them, this will be a browser flash and a title...

jQuery LightBox Grid PlugIns

Hi, Just wondering if anybody knows of any jQuery Lightbox type plugins (URLs pls) for photo galleries, where are images are displayed in a grid type format which then the user can click on an image which zooms to the forefront and back again? Something similar to iPhoto Gallery on the Mac OS X platform but just want all the photos dis...

jquery sortable plugin with "sliding effect" ?

Hello! jQueryUI has got a nice plugin, Sortable: http://jqueryui.com/demos/sortable/ I'm very pleased with that plugin but I'm only missing one thing. And that is instead of let the elements that changes position pop/jump to its new position, I'd like them to "slide" to that new position instead. By other words, make it a bit more smoot...

Infinite recursion in jQuery plugin subfunction

I wrote the following jQuery plugin: (function($){ $.fn.imageSlide = function(options){ $(this).imageSlide.nextSlide(); console.log("imageslide"); }; $.fn.imageSlide.nextSlide = function(){ console.log("nextslide"); $this = $(this); }; })(jQuery); Some background: I want an image slider plugi...

How can I make a Jeditable (jQuery) span activate editing on more than one event?

For the jQuery extension Jeditable, one of the parameters that can be specified is which DOM event will turn a div/span/... into a text input/textarea/... I would like to have more than one event serve as a trigger; that is, I would like either a click event or a contextmenu event to turn a span into an in-place edit area. Is there a g...

jQuery image picker

I'm looking for a jQuery image picker plugin that allows me to do the following: Display a group of images and let the user select one (and only one) by clicking it If the user does not like any of the specified images, he should be able to upload his own Just #1 would suffice, as I can add the code for #2 if necessary It's not that...

Crockford Prototypical Inheritance... no prototype chain? No super?

Trying to understand a little more about Crockford's approach to Prototypical Inheritance whereby he essentially eliminates the constructor, thus eliminating any real possibility for a prototype chain or leveraging the idea of "super". mynamespace.object.create = function( o ) { function F(){}; F.prototype = o; return new F(...

jqModal jQuery Plugin - How to Set Timeout on Modal Popup?

Hi All, I'm using the jQuery Plugin jqModal. New to it, so i'm still learning its usage. What i'm trying to do is show the popup for say 3 seconds, then automatically close. Basically, here is the flow of events i want: My page loads. Show modal popup saying "Connecting to MySite.." (after 3 seconds) modal popup automatically cl...

Convert Carrage returns to br tags

Hi All, I'm stuck with a small problem of parsing carrage return in a text area. JQuery Code $.fn.escapeHtml = function() { this.each(function() { $(this).html( $(this).html() .replace(/"/g,"&quot;") .replace(/&/g,'&amp;') .replace(/</g,'&lt;') .rep...

Check isvalid for jQuery validation server-side

I'm migrating from ASP.net validation to the jQuery validation plugin to validate my pages. Is it possible to identify if the controls are valid server-side? ASP.net validation provides page.IsValid, I am looking for something similar? Any ideas? ...

jQuery trying to center tooltip over hovered element

I am writing my own tooltip function like so: $(".tip_holder").hover( function() { var $containerWidth = $(this).width(); var $containerHeight = $(this).height(); var $tipTxt = $(this).text(); var $tipTitle = $(this).attr('title'); var $offset = $(this).offset(); $('#icis_dashboard').prepend('...

Javascript Helper Library

Hello all, I've been assigned a project to create a js library that serves as a starting template for all of my company's websites. The idea is to include some standard things that we do so that we aren't reinventing the wheel every time. I've made a good bit of headway thus far, but I cant help but feel like I could be organizing thi...

ASP.NET jQuery - how to invoke server method when asynchronous method is complete ?

Hi, I have jQuery plugin - progress bar. How to invoke server side method on success? The code is below: (Everything works fine) $("#<%=this.btnGetData.ClientID%>").click( function () { intervalID = setInterval(updateProgress, 100); $.ajax({ type: "POST", ...

Add rows to jQuery table after the the present row

Hello, I wanted to know how do I go about adding rows after a particular row in my datatable. I'm using the jQuery datatables plug-in for this purpose. I can pass the table row Index. that I need to insert the row to my javascript function, as follows: function addNewContact(rCount){ .. } And my HTML code is: table id="exampleTbl"...