web development war stories from the frontlines to the backend

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 [...]

I’ve been developing a stock market screener with some advanced functionality.  Some of the parameters a user might enter, because of their complexity or sheer volume of data required to calculate, would cause the screener to run for considerable amounts of time before returning results.  The opportunity to create a progress bar presented itself.  EVERY [...]

The Clickable SPAN

tags: , ,

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 [...]

« Previous Page  Next Entries »

Recent Posts

Categories

Archives