jquery-plugins

Why does my Javascript function only work SOME times?

My sandbox is here: http://9.latest.truxmap.appspot.com/ First click a marker on the map (if there are none when the page loads, check the 'food trucks opening soon' box in the navigation widget). Next go to the 'Reviews' tab. In GWT, everytime I open a marker I'm calling the javascript function resizeReviewTab() which corrects styli...

Looking for a jquery plugin that will mask sensitive information when entered in a normal textbox that is compatible with validation plugin

I have a multi-step form in which some of the fields are collecting sensitive information. A requirement that has come up is that we mask what people enter (like a password field) as they enter it for one particular field, so if someone is looking over their shoulder, they don't see the content. The problem is that users are able to ...

Jquery/javascript Library for avatar creation?

Is anyone aware of a javascript or jQuery library that enables the creation of Pixelart avatars? I'm hoping for something with a mr potatohead style face creation using components and resulting in a gif. If not I guess I'll need to make one myself. Thanks! ...

How to include an external plugin inside of another jQuery plugin being authored.

I am building a custom jQuery plugin for a project I am working on. I want to return an object that is custom to another jQuery plugin...rather than having to make sure that each page that uses my plugin also has this other plugin, is it possible to include it in the actual plugin itself? Rather than type the following on each page tha...

DotNetNuke - jQuery - Why is this jQuery Watermark plugin not working?

I'm using DNN 5.4 with the default google api jquery reference: I have confirmed that jquery.min.js is loading. I don't know if there's other jQuery (other than the plugin) that needs to be loaded. I'm utilizing the Google Code jQuery Textbox Watermark Plugin (Link) Web Dev Toolbar & Firebug suggest that both jQuery and the Watermar...

Add bottom margin to elements in jQuery Masonry

I'm using a forked version of David Desandro's jQuery Masonry plug-in which allows me to set a width for the Columns. spacerWidth: 10, http://github.com/gilmoreorless/masonry But how can you set a bottom margin on the element to give it equal spacing to it's column? Thank You ...

Options in dynamically including JQuery plugins on-demand when they're called?

I'm currently optimizing the javascripts used on two dozen sites (shared HTML templates), and one of the things I'm adding is dynamic loading of JQuery plugins. So far, I've got the following function (using an altered form of jQuery.getScript(), the default does not cache the fetched results): function bootstrap(params) { if (param...

How do I pause this JQuery slider plugin after all images are displayed?

I first used the following to give my logo an effect on load: $(document).ready(function() { $('#logo').delay(1000).slideDown('slow'); }); The effect was too simple, so I decided to use an effect similar to those used by Nivo Slider or Coin Slider, by transitioning from a white image to the logo. The problem I have is the I can't ...

Javascript library for BlackBerry.

Hi All I'm currently starting in the web mobile development along with come trench brothers. I've done some things for iPhone and Android using jQuery and JQTouch. Recently we've been playing with the idea to also support BlackBerry devices to an application we are developing (which promises a lot of rework). Our initial tests with the ...

jQuery's Stylish-Select plugin doesn't work on elements created after page load

I've been striving to use Stylish Select Box with elements created after page load without success. In order to understand the issue, you'll need to re-produce it first. I know the following might seem a bit annoying but please continue reading if if you have 5 minutes of spare time. Alternatively, you may obtain a completed example her...

Resolve conflicting jquery plugins: quicksand and lavalamp

I have a problem with jQuery Quicksand and jQuery Lavalamp plugins. It seems they conflict and don't work together. I wonder why and how can I solve this? I'm using jQuery 1.4.2 ...

Click event firing multiple times

I am learning to write a plugin for myself, but I got something odd in the code. I have a reset button, and when I click it, it runs as times as the number of input elements I have. My code: jsbin, jsfiddle HTML: <div id="container"> <div id="createCSVWrap"> <fieldset> <legend> Create the CVS File </legend> ...

Auto-scrolling in jQuery.scrollTo / jQuery.serialScroll works like crazy

Hi, I used the following tutorial to make a parallax content slider for my webiste: http://blog.themeforest.net/tutorials/create-a-funky-parallax-background-effect-using-jquery/ I got it working nicely, but wanted to add auto-scrolling functionality. I did it by adding jQuery.serialScroll and using setInterval but it works like crazy n...

jQuery Plugin Method Chaining Class Layout

I am creating a jQuery plugin and I am having trouble setting up the class/methods to fit the api access I would like. Here is what I have so far, but it doesn't work (I get an Object doesn't support this property or method error): (function( $ ){ $.kitty= function( name ) { this.name = name; this.cat= function( s...

Javascript reference by value/by reference problem

I'm creating a jQuery plugin to do paging and encountered the following problem. When I click on a page link created by the plugin below, it will always give we the value of the last index passed into the value i at the last iterator of the code below. If there are 4 pages, I will always get 4 if I press link 1, 2, 3 or 4. It seems that...

Jcoverflip calling the Next method from jquery

Tryin to call the next method: http://www.jcoverflip.com/documentation/advance-customization#section-methods <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#flip').jcoverflip(); $('#right').click(function() { var i = jQuery('#flip').jcoverflip(); i.next(); ...

Add row in jqgrid

Hi, i am using jqgrid its working fine. I have scenario where i have to add the blank row in jgrid instead of popup to add the row. how can i do it. Please Help. Thanks. ...

Retrieving an array key (non-associative) w/ limited information

How can I access the key of a non-associate array? Here's my scenario, I have an array of objects (in this case, they are coordinates): coords[0] = {x: 37.543524, y: -56.65474} coords[1] = {x: 35.041292, y: -76.03135} //etc.. I'm using a jQuery templating plugin to print out the results: $('#repeater').tmpl(coords).appendTo('body')...

jquery slot machine tabs Urls Problem with firefox browser

hello , i use this jquery tabs plugin : http://css-tricks.com/slot-machine-tabs/ it's work very good .. but i have problem with the columns contents .. the problem is that the a urls don't work in firefox .. firefox see urls inside it as normal text . not as urls , it's be not clickable .. so i don't know what is the cause of this pro...

jQuery: how do I have different effects based on where you are in navigation.

I have this: $('#mask').cycle({ fx: 'scrollLeft', timeout: 0, speed: 300, startingSlide: 0 }); But there is a certain case where I want the fx to be scrollRight lets say when (myCondition == true) how do I do that? ...