Category Archives: JavaScript
Making linking between anchors in an IFrame work in Firefox 4 and above
In Firefox 4 a security fix was added which prevents linking between anchors within an IFrame that does not have scroll bars. This change breaks the scenario where you have an IFrame that has a “Go To Top” link (<a … Continue reading
Chutzpah – A JavaScript Test Runner Released
I just released to CodePlex and the Visual Studio Gallery a new project called Chutzpah (hutz·pah). Chutzpah is an open source JavaScript unit test runner which helps you integrate JavaScript unit testing into your website. It enables you to run … Continue reading
Visually view all events attached to DOM elements
I recently found this tool called Visual Event which helps you view and inspect all events attached to DOM elements on a web page. I have wanted a tool like this for a long time. Often when programming with many … Continue reading
A simple JavaScript stubbing function
Stop! If you are looking for a full featured JavaScript stubbing/mocking library you will be thoroughly disappointed by this post. There are many really good and full featured frameworks for this such as QMock , JSMock and my current personal … Continue reading
Synchronizing Scrollbars using JQuery
I just wrote this simple plugin for JQuery which lets you synchronize the scroll bars of any collection of elements. This lets you move the scrollbar of one div it have the scrollbars’ of the rest of the divs move the same exact amount. Here i…

