please help me kill of of these horrible tigers! a click mashing game that is also a bookmarklet.Feturing html5 audio flikr api integration and its open source on github so feel free to browse the code

This mostly shows how to queue up methods in a chain type calling structure (like is common in jquery) to happen after an async opperation as if it was not... also This is an example of reflecting javascript objects, reflecting jquery result objects, simple queuing in js and has a uses ECMA script 5 getters and setters

GOAL: i want to send a message to a child x-domain iframe, demonstrate that the message was recieved, and then have the child send a new message to the parent window.

I was browsing around the dom and noticed window.postMessage. I remembered hearing about this before, and after reading a few blogs about web workers i realized that this is the HTML5 postMessage used for cross domain communication between window objects (ie: iframes) and now web workers.http://ajaxian.com/archives/cross-window-messaging-with-html-5-postmessage refrences an example by John Resig on how to process a message in a child and i thought that i would post an example that completes the communication cycle (http://ejohn.org/apps/message/).
I think more work can be done to make a cross browser implementation using timer based iframe hash monitoring or resize proxy frame message monitoring.

One issue with DOM based approches to templating is they are not efficient for rendering 100s of rows.
A simple string replace and concat is fast with only a few calls to normal dom api methods. plus this kind of task could be passed onto a web worker!
check out the example to see a basic run with twitters api
download jquery.jsonTemplate.js
var json = [{food:'taco',type:'cold'},{food:'chicken',type:'grilled'},{food:'beef',type:'roast'}];
$("#results").JSONTemplate(".food-template",json);
You just have to make a hidden template on the page and add a class to every container you want to innerHTML replace with json contents. class="field-keyInJsonResponse"
<!DOCTYPE HTML>
<html>
<head>
<title>quick and fast templating with jQuery</title>
<script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script src="jquery.jsontemplate.js?<?=time()?>"></script>
<script type='text/javascript' src='test.js'></script>
</head>
<body>
<div id="results"></div>
<div style="display:none;">
<div class="food-template">
<b class="field-type"></b> <span class="field-food"></span>
</div>
</div>
</body>
</html>

Deleting a value in a Javascript native Array does not update length12 August 2009