Notes"Steven Levithan, of RegexPal, ran into some performance issues with innerHTML due to the fact that "every keydown event potentially triggers the destruction and creation of thousands of elements" so he started to look into it."Unfurl
Notes"You have an element in the DOM sitting somewhere below the fold (see above the fold), and you’d like to know when it has breached through the bottom threshold of your screen as a user is scrolling down a page."Unfurl
NotesI'd totally forgotten that FeedBurner now offers JSON renderings of RSS feeds. I should use this if I ever revamp to a new portal-of-me homepage.Unfurl
Notes"Imagine if web applications could store megabytes of data on the client-side, in the browser, both persistently and securely. No server needed."Unfurl
Notes"The DomHelper class in the 0.32.2 release provides a layer of abstraction from DOM and transparently supports creating elements via DOM or using HTML fragments. It also has the ability to create HTML fragment templates from your DOM building code."Unfurl
Notes"Basically, all I am doing is setting a var (lastTarget) onDragOver to the element that we are over. Then in the onDragDrop function, I am checking to see if the id that is returned matches the id that is stored in lastTarget. If it is, display the text iUnfurl
Notes"Using a combination of the Event Utility and the DOM Collection utility, I was able to roll out perhaps the sweetest piece of eye candy I’ve ever built."Unfurl
Notes"This is demonstration of rendering arbitrary triangles (relatively fast) with javascript/DOM/css (no images, flash, canvas tags or java applets)."Unfurl
Notes"all you need to do is to set one event handler on a main element, and use the getTarget() method of the library of your choice. Compare the event target to what you want to react to and off you go"Unfurl
Notes"all you need to do is to set one event handler on a main element, and use the getTarget() method of the library of your choice. Compare the event target to what you want to react to and off you go"Unfurl
Notes"The browser throbbing can be a subtle expected queue, and it’s the only thing visible across tabs, so it can be nice to be able to toggle it on and off. This method uses a hidden iframe, which increases load across the server but achieves the desiredUnfurl
Notes"Here's a fun fact. jQuery 1.0 has been released nearly one year after it was first conceived as a post in my weblog. Funny how those things work."Unfurl
Notes"The carousel component manages a list of content (HTML UL and LI elements) that can be displayed horizontally or vertically. The content can be scrolled back and forth with or without animation."Unfurl
Notes"After spending a few hours getting comfortable with Yahoo!’s new Event utility that was recently released along with many other sweet tools via YUIBlog, I became convinced that it is the dopest, sweetest, most tight, most sexiest event utility on the pUnfurl
NotesHe's exactly right, Flash developers pushed the bounds of JS first: "if you are interested in doing object oriented JavaScript development, ... check out some of the older resources and tutorials around object oriented programing in Flash 5 / ActionScriptUnfurl
Notes"Just a quick fyi, but if you are doing work in JavaScript and need to dynamically remove all of the childNodes from a DOM element, make sure to do it with a while loop, and not a for loop."Unfurl
Notes'You probably already said to yourself : " it'd be great if I could draw and move some lines at will in JavaScript. " If you don't, let's pretend you did.' Similar to, probably better than what I came up with yesterdayUnfurl