Skip to main content

Home/ Groups/ jquery
1More

Brandon Aaron » Gradient - 0 views

  • The gradient plugin adds a dynamically created configurable gradient to the background of an element without the use of images.
1More

::TexoTela:: jQuery - preload images - 0 views

  • jQuery.preloadImages = function() { for(var i = 0; i<arguments.length; i++) { jQuery("<img>").attr("src", arguments[i]); } }
1More

jQuery Logging - 0 views

  • I’ve been having a lovely day at work, fiddling with jQuery. I started to come up with some really gnarly selector chains though, and I wondered what nodes they were actually addressing. So, I wrote a tiny jQuery extension that logs the current jQuery selection to the firebug console. jQuery.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; }; Now, I can just stuff a call to .log() in the middle of what I’m doing to see what I’m currently addressing. e.g. $(root).find('li.source > input:checkbox').log("sources to uncheck").removeAttr("checked"); The nice thing about logging to firebug is that each node becomes clickable in the console, so you can immediately see the context.

Scroller example - 8 views

started by Vincent Tsao on 19 Oct 07 no follow-up yet
1More

XML.com: jQuery and XML - 0 views

  • <xhtml:script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://www.xml.com/jquery.js" type="application/javascript"/> <xhtml:script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://www.xml.com/designers.js" type="application/javascript"/>
1More

Encode HTML entities with jQuery - 0 views

  • $('<div/>').text('This is fun & stuff').html(); // evaluates to "This is fun & stuff"

jQuery Grid Plugin - 0 views

shared by lilin_fr on 15 Oct 07 - Cached
« First ‹ Previous 141 - 160 of 168 Next ›
Showing 20 items per page