Author Archives: brad

slikcalc 1.1 release

I’ve just released a new build of slikcalc – javascript calculator library that includes a few small bug fixes, and some shortcuts to the API. The new API for creating calculators looks as follows: var columnCalc1 = slikcalc.create('column', { total: { id: 'cc-1-total' }, registerListeners: true, calcOnLoad: true }); as opposed to: var columnCalc1 = [...]
Tagged , | Leave a comment

Google Chrome – Holy Smokes

The cats out of the bag, Google released their new browser, http://gears.google.com/chrome/. I was pretty excited about the new features that this browser would include, some of which are a brand new Javascript VM called V8, along with using Webkit for the rendering engine. The fact that each tab in the browser is its own [...]
Tagged , | Leave a comment

Teaching an old Framework new tricks!

In summary, I want to discuss an alternative approach for developing a rich, dynamic UI using Struts1. The basic approach is: Java Object to JSON string JSON String consumed by Javascript Manipulate UI, update Javascript model On submit of form serialize Javascript model to JSON string Set value of hidden input to JSON string JSON [...]
Tagged , , , | Leave a comment

Javascript getFirstDescendantBy()

Update – Jan 22, 2009 A new native YUI function is in the works, and does this job better Recently I was working on optimizing some javascript, and found a slow area that was trying to find the first focusable input in a certain area of the page, and it was taking anywhere from 100 [...]
Tagged , | 4 Comments

Back to Firefox 2

If you’re like me, you use Firebug a lot, like, all day long. Long gone are the days of resorting to alerts. The worst I’ll fall back to is using the YUI logger for IE. I’ve recently been having a lot of issues using Firefox 3, and Firebug. Firefox 3 has been pretty consistent at [...]
Tagged , | 1 Comment

Page optimized by WP Minify WordPress Plugin