I know how to do plugins, but how do I do nested options like:
var defaults = {
spacing:10,
shorten_to:50,
from_start:0,
from_end:2,
classes: {
test:'testing'
}
};
i know that isn't right, i just dont know how to write the proper syntax when I want to do something like this:
$('#breadcrumbs').breadcrum...
So, I'm basing my code on Trey's solution on:
http://solutions.treypiepmeier.com/2009/12/10/using-jquery-autocomplete-with-django/
The script is:
<script>
$(function() {
$('#id_members').autocomplete('{{ object.get_absolute_url }}members/lookup', {
dataType: 'json',
width: 200,
...
I'm using the jQuery tablesorter plugin to sort a table, which assigns .click() handlers to the <th>s in the table. Since my table has alternating colors for each column, I've built a simple fix_table_colors(identifier) function that does as it should when I call it manually using Firebug. I would like, however, to have that automatica...
Hi All,
I am creating a autocomplete textbox for a application for touch screen device jquery autocomlete. The scrollbar in the autocomplete is not so user friendly so i was suppose to give another option. Is it possible to include Next/Prev button inside autocomplete? or Is there any other good option for this issue?
Geetha.
...
Is it possible or any plugins to use chat feature for community page on GAE. Something like gmail chat? maybe some Jquery driven chat?
...
Hi,
i'm building a website in php and i have tables presented that i need to allow the user to:
1. add new entry (only one at a time, which should appear as a new modal overlay)
2. delete multiple selected entries from
3. edit an existing entry (only one at one time, in a view similar to 1.)
4. re-arrange entries up and down. One by one...
How would I go about dynamically adding commas as a user is entering numbers? Is there a good number formatter that would help? I have to add these numbers later so I eventually have to remove the commas down the line. But the screen needs to show the commas for better readability.
...
i need to autoheight an iframe with a cross domain src, i tried with javascript, but I get an "Access Denied" when I try to get the height of iframe contentWindow. anyone knows any method?
...
I am trying to sort a table which has column like 01 Apr 2010. I am using below to apply sort
$(document).ready(function()
{
$("#dataTable").tablesorter();
});
But its not working for the dates of format dd MMM yy. Can any one suggest how can i apply this format for sorting?
...
Hi,
I am trying to enhance a form, by showing only relevant fields depending on initial selection via a form select field.
It is an order form for 3 products and all 3 products have unique properties.
My idea was to hide all the content in divs, then reveal the relevant div when the product is selected. I have found some solutions th...
Hi,
I'm using the Boxy jQuery plugin to open dialog windows and populating it through ajax.
http://onehackoranother.com/projects/jquery/boxy/
Here's my code so far:
$("a.create").click(function (e) {
url = $(e.target).attr('href');
Boxy.load(url, {title:'Test'});
});
This opens up a dialog alright. However, if I click the link a...
Hi, I'm attempting to build a simple plugin like this
(function($) {
$.fn.gpSlideOut = function(options, callback) {
// default options - these are used when no others are specified
$.fn.gpSlideOut.defaults = {
fadeToColour: "#ffffb3",
fadeToColourSpeed: 500,
slideUpS...
Does anyone know of a jquery plugin that does code folding of XML structures?
...
Is it appropriate to create jQuery plugins which are specific to a single page? I've been creating generic plugins that are not tied to any context and contain no business logic, but some people I've talked to suggest that almost all javascript, including business logic and logic specific to a single page, should be inside of jQuery plu...
Hi. We need to place text over objects in a web page, similar to this: http://www.queness.com/resources/html/slideshow/jquery-slideshow.html
The text "bar" needs to appear on top of images and videos. For the videos, we're using the html5media library (http://code.google.com/p/html5media/), which renders a <video> tag for those browsers...
Dynamic Plugin Extensions
I'm looking for techniques to allow a jquery plugin or jquery-based javascript library to automatically and dynamically add extensions to itself based on the current environment it finds itself within. Basically, I want to be able to reuse certain useful functions from other plugins if other plugins are loaded ...
Is there an AJAX autocomplete for jQuery that supports multiple columns? I mean multiple columns like a database table, not just splitting a list up. It would search off the first column, but the rest would be visible in the dropdown.
Does such a thing exist?
...
Hello, I'd like to find a fay to use Qtip in an iFrame on my page. I found a way to use QTIP on an iframe, but not with JQUERY LIVE....
qTip through an iFrame: http://craigsworks.com/projects/forums/thread-question-qtip-through-iframe
Any ideas on how to apply JQUERY Live to that?
My current code:
$('iframe').load(function(){
$(thi...
I've read that including the scripts dynamically may provide some better performance, however i'm not really seeing that on the small local tests I'm doing. I created a jquery plugin to dynamically load other plugins as necessary and am curious as to if this is actually a good idea. The following would be called onready or at the bott...
I've reviewed a couple options for jquery-based RTE that required PHP. I'm running a MVC/jQuery site on IIS - should i rule out php-based editors just so i can avoid installing PHP? How exactly is the client-side jquery interacting with PHP?
...