Main Contents

Calculating Browser Client Height

October 2, 2009

When you’re writing a rich Internet application (RIA) in HTML and JavaScript, sometimes you need to programatically place a DOM element relative to the right or bottom edge of the visible browser window. For example, if you want to popup a help balloon near an item of interest, you probably want to make sure that [...]

Tags: , , , ,
Filed under: Programming, Web | Comments Off

Recent Google Homepage / GMail Widget Update Laced With Script Errors

December 18, 2008

About two days ago, my Google homepage suddenly became hostile toward me.  By hostile, I mean my IE7 browser is suddenly reporting a bunch of JavaScript errors and faults when loading the Google homepage that it wasn’t reporting before. 
Whenever I visit my Google homepage now, I have to wade through 5 or 6 JavaScript error notifications [...]

Tags: , , , , , , ,
Filed under: Programming, Web | Comments (5)

Cross-Domain Transport with Window.Name

July 28, 2008

In the fall of 2006 I was wrestling with VS debugging JavaScript in IE and Venkman in Firefox teasing out problems and holes in the cross-domain channel library we were building for Windows Live and the Windows Live Contacts Control.
One of the most aggrevating aspects of debugging cross-domain JavaScript is that JavaScript debuggers do not provide the same degree [...]

Tags: , , , ,
Filed under: Web | Comments (3)

Cross-Browser Dynamic JavaScript Loading

July 23, 2008

Stoyan Stefanov writes about Non-Blocking JavaScript Downloads on the Yahoo User Interface Blog.  Good content all around, but I’d like to add a note on an item he somewhat casually skimmed over.
In the “Dependencies” section of the article, Stefanov describes using the onLoad or onReadyStateChange events of the dynamically generated script tag to receive notification [...]

Tags: , ,
Filed under: Programming, Web | Comments (6)