RobertFischer/JQuery-PeriodicalUpdater - GitHub
december 2010 by kostas
"A port of Prototype's Ajax.PeriodicalUpdater function to jQuery. Basically, this function polls some remote service at fairly regular internvals, and (optionally) processes the result via a callback. The period of calls will decay as long as the same response keeps coming back from the server (either in the form of repeated data or in the form of a 304 Not Modified status), which reduces the load on the server naturally. The first Ajax call happens as a page 'onReady' handler $(function), so it is safe to put the PeriodicalUpdater call anywhere on the page."
jquery
comet
december 2010 by kostas
Using Delegate and Undelegate in jQuery 1.4.2 » Learning jQuery - Tips, Techniques, Tutorials
may 2010 by kostas
"These methods achieve the same thing as the .live() and .die() methods, they just use a different syntax."
jquery
may 2010 by kostas
How to Get Anything You Want – part 1 » Learning jQuery - Tips, Techniques, Tutorials
may 2010 by kostas
"With jQuery, you can get to just about anything on a web page. In this entry, I’ll show you a few ways you can use jQuery’s versatile selector expressions to traverse to an element — or group of elements — in the DOM."
jquery
may 2010 by kostas
Introducing $(document).ready() » Learning jQuery - Tips, Techniques, Tutorials
may 2010 by kostas
"With $(document).ready(), you can get your events to load or fire or whatever you want them to do before the window loads. Everything that you stick inside its brackets is ready to go at the earliest possible moment — as soon as the DOM is registered by the browser, which allows for some nice hiding and showing effects and other stuff immediately when the user first sees the page elements. [...] I thought it might help the absolute beginners to see an example of the <head> where you would include your scripts. Note that CSS stylesheets come before the jQuery file, and the jQuery file comes before your custom script."
jquery
may 2010 by kostas
jquerycomet - Project Hosting on Google Code
may 2010 by kostas
"Cometd (bayeux) plugin for jQuery Supports AJAX long-polling and script callback-polling." More info from the author can be found here: http://morglog.org/?cat=13
comet
jquery
may 2010 by kostas
comet long polling with jquery - jQuery (English) | Google Groups
may 2010 by kostas
This should get you started:
(function($) {
$(document).ready(startComet);
function startComet() {
$.ajax({
url: 'myCometServer.php',
complete: onComplete
});
};
function onComplete(xhr, status) {
if (status == "success") {
var json = xhr.getResponseHeader('myCometHeader');
$.globalEval('('+json+')');
startComet();
}
else {
// handle errors
}
comet
jquery
(function($) {
$(document).ready(startComet);
function startComet() {
$.ajax({
url: 'myCometServer.php',
complete: onComplete
});
};
function onComplete(xhr, status) {
if (status == "success") {
var json = xhr.getResponseHeader('myCometHeader');
$.globalEval('('+json+')');
startComet();
}
else {
// handle errors
}
may 2010 by kostas
jQuery: AJAX Queue/Cache/Abort/Block Manager
may 2010 by kostas
"Helps you to manage AJAX requests and responses (i.e. abort requests, block requests, order requests)."
jquery
comet
may 2010 by kostas
jQuery: Making simultaneous ajax requests, is it possible? - Stack Overflow
may 2010 by kostas
"The browser limits you to two requests at any given time. This is part of the HTTP specification."
comet
jquery
may 2010 by kostas
RobertFischer's JQuery-PeriodicalUpdater at master - GitHub
may 2010 by kostas
"A port of Prototype's Ajax.PeriodicalUpdater function to jQuery. Basically, this function polls some remote service at fairly regular internvals, and (optionally) processes the result via a callback. The period of calls will decay as long as the same response keeps coming back from the server (either in the form of repeated data or in the form of a 304 Not Modified status), which reduces the load on the server naturally. The first Ajax call happens as a page 'onReady' handler $(function), so it is safe to put the PeriodicalUpdater call anywhere on the page."
More info here: http://enfranchisedmind.com/blog/posts/jquery-periodicalupdater-ajax-polling/
comet
jquery
More info here: http://enfranchisedmind.com/blog/posts/jquery-periodicalupdater-ajax-polling/
may 2010 by kostas
Simple comet example using php and jquery - Stack Overflow
may 2010 by kostas
function listen() {
$.get("/mylongrequestfile", {}, function(data) {
$("#mydiv").html(data);
listen(); // then launch again
}));
};
comet
jquery
$.get("/mylongrequestfile", {}, function(data) {
$("#mydiv").html(data);
listen(); // then launch again
}));
};
may 2010 by kostas
gMap - Google Maps Plugin For jQuery | About
april 2010 by kostas
"gMap is a lightweight jQuery plugin that helps you embed Google Maps into your website. With only 2 KB in size it is very flexible and highly customizable."
googlemaps
jquery
april 2010 by kostas
timeago: a jQuery plugin
april 2010 by kostas
"Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago")."
jquery
april 2010 by kostas
In-Field Labels jQuery Plugin
april 2010 by kostas
"This is a simple plugin that turns properly formatted HTML forms into forms with in-field label support. Labels fade when the field is focussed and disappear when text entry begins. Clearing a field and leaving brings back the label."
jquery
april 2010 by kostas
Uniform - Sexy forms with jQuery
april 2010 by kostas
"Have you ever wished you could style checkboxes, drop down menus, radio buttons, and file upload inputs? Ever wished you could control the look and feel of your form elements between all browsers?"
jquery
april 2010 by kostas
jQuery Masonry · David DeSandro
april 2010 by kostas
"Masonry is a layout plugin for jQuery. Think of it as the flip side of CSS floats. Whereas floating arranges elements horizontally then vertically, Masonry arranges elements vertically then horizontally according to a grid. The result minimizes vertical gaps between elements of varying height, just like a mason fitting stones in a wall."
jquery
april 2010 by kostas