2008-11-16: Updated the source code to remove the Prototype dependency This is a very simple, lightweight, object to manage the handling of events in JavaScript. Events can be arbitrarily defined and identified based on calls to listen(). Multiple actions can be handled per event and events can be triggered arbitrarily at any point in your [...]
07 Nov
by: Matt in Development, JavaScript, PHP
tags: ajax, iframe, JavaScript, long polling, php, progress bar
UPDATE 2011-01-23: I’ve revisited this old trick and fixed some bugs some of which were in the comments, so thanks. The changes are the setTimeout in the parent window’s update function (to give the DOM some time to render) and the use of str_pad to force the browser to begin parsing/execution. I’ve been developing a [...]
It seems like the standard pattern for calling a JavaScript function when text is clicked is the following: <a href="#" onclick="callSomeJSFunction();">Click Me</a> The problem I have often encountered is that clicking the link causes the browser to jump to the top of the page if you have scrolled at all. Users do not like unexpected [...]
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.