Hi,
Why is it that this code:
$('#tbl tr:odd').css('background-color', '#f6f6f6');
$('#tbl tr:even').css('background-color', '#cccccc');
works fine outside of the plugin in all browsers. While the same code:
$('tr:odd', $this).css('background-color', options.tr_odd_bgcolor);
$('tr:even', $this).css('background-color', options.tr_eve...
I'm trying to use A-Tools to insert something at the caret position in a TEXTAREA. However, when the TEXTAREA doesn't have focus, the stuff gets thrown at the end (I'd like it to be at the beginning). However, I don't seem to be able to figure out when that focus isn't there to insert at the beginning, as the caret position returned when...
I have facebox plugin to my jQuery, to make lightbox for me.
I made a link that you click on and then a friend request form comes up in it.
The form makes an ajaxcall when click on "Send request", but the 2 fields dont send anything of what you have written in it, it just sends empty value.
But if its not inside the facebox lightbox th...
Hi All,
I am trying my way around on using the jquery validate plugin but I cant seem to make it work on one
particular aspect.
I have this scenario, my form has limited space so the label error generated by the validate plugin
cannot be seen if ever there is a validation error
So what I did is, I created a container below my form to ...
here is a little demo of the problem: textAnimation Demo
and here is the plugin code:
(function($) {
$.fn.textAnimation = function(options) {
// debug(this);
// build main options before element iteration
var opts = $.extend({}, $.fn.textAnimation.defaults, options);
// iterate and reformat each matc...
hi, i wrote a nice plugin which transforms IMG to canvas
jQuery.fn.img2canvas = function() {
return this.each(function(){
if($(this).get(0).tagName=='IMG'&&$(this).parent().get(0).tagName!='CANVAS')
{
//alert($(this).get(0).tagName);
$(this).load(function()
{
v...
Hi,
I'm in the process of integrating the jQuery star rating plugin with Rails. I've written the Rails server-side code and have sorted the submission of a new rating, but at the moment I'm struggling to figure out how to display the average rating value as a static series of stars using the plugin. Displaying the rating itself is fine:...
I've been trying to use XSL with Google Chrome, but with no success.
I read that Chrome have some bugs with XSLT, and one of them is that it doesn't support xsl:include. Bug can be checked here: http://code.google.com/p/chromium/issues/detail?id=8441.
After some research I found a new version of the transform plugin by Daer System, and i...
Hi,
I am using fancybox on a series of gallery images.
The user has the option to click a link which fades out certain images of a certain category.
I want to unbind the Fancybox method on the images that are faded but also re-bind when they are at full opacity.
$("#clientsProjects").delegate("#clientsProjects nav a", "click", functi...
This is my HTML page..
<div>
<form id="signupForm" method="get" action="">
<table>
<tr><td><input type="button" value="New" onclick="clearuserfields()"/></td></tr>
<tr><td>USERID:</td><td><input type="text" id="userID"/></td></tr>
<tr><td>FNAME:</td><td><input type="text" id="fname" name="fname" /></td></tr>
<tr><td>LNAME:</td><td...
I am trying to get the tipsy plugin working and can't seem to do it with dynamic id's.
this is the code I was trying to use.
jQuery(document).ready(function(){
jQuery("a#[id^='pro_']").each(function(){
jQuery("a#[id^='pro_']").tipsy({gravity: jQuery.fn.tipsy.autoNS,live: 'true'});
});
});
a link would look someting l...
I used the Jquery calculation plugin successfully to perform two calculations on both subtotals and a grand total much like the last example on the demo page:
http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm
However I'd like to also get a total count of the number of beds that are selected but can't seem to ...
Extending the example here:
http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm
How could I generate the subtotals, and additionally add in the Name of the product selected? Instead of:
Qty Product Price Total
1 Learning jQuery $39.99 $39.99
1 jQuery ...
I want an element organization in my UI equivalent to the results of following CSS:
#wall {
width: 100%;
display: box;
box-orient: horizontal;
box-align: stretch;
box-lines: multiple;
}
Unfortunately browsers do not seem to support box-lines: multiple;, and some widely used browsers do not yet support flexible box ...
Anyone ever used jclock and know how to remove the leading zero for the 12h setting?
...
The first submit works as expected, but the next time it's fully posted back. I'm using jQuery.form plugin, specifically the .ajaxSubmit(options) call to submit the form. There are a couple levels of wrapper div's, but I debug the button.click binds and I can't figure out why the second time, even with the same variables, it does a full ...
Hi,
Why I want to block a JS file download in HTML? Well, this is my time-chart for the page load:
jQuery (1.2) loaded
jQuery plugin loaded (extends the current jQuery object)
custom JS loaded
custom JS uses document.write to add extra scripts
the added extra script loads a new jQuery (1.4, but it doesn't matter)
-> so my extension is...
Can somebody post a simple html code on how to implement it,with simple data object.
Here is the link http://code.drewwilson.com/entry/autosuggest-jquery-plugin
I have tried everything to get it working and i have not succeeded so far, can somebody please help
Thanks
Mason
...
$(document).ready(function() {
$("#demo img[title]").tooltip({effect: 'slide'});
});
I want to add an offset to this function, but when i add offset [20, 0], it doesn't work. I would like to know how to code using 2 parameters.
...
What is a good jQuery plugin for a showing default value in an input box that disappears when it gets focus or a user starts entering text?
...