Archive for the ‘JavaScript’ Category

Introducing Tiny JavaScript Number Formatter

Monday, August 18th, 2008 by Jesper Rønn-Jensen

For a current project, I created a tiny number formatter that inserts thousand delimiters in a string: 10000 to 10,000 etc. Just add css class=”numberformat currency” to a text field, and it will be formatted automatically. It is based on the Prototype JavaScript library. You can get it from it’s GitHub repository page. Feel free […]

Adding Deprecation Warning in JavaScript Console

Thursday, July 17th, 2008 by Jesper Rønn-Jensen

I used this quick trick today to help me clean up and refactor some javascript functions today: if (“console” in window) console.warn(‘DEPRECATED function call to ‘+ arguments.callee +’\nCalled by:\n’+ arguments.callee.caller ); Which results in a fine deprecation warning in the console: There is plenty of space for improvement here. Feel free to use or tamper […]

1996 Humour Ahead: Spacer.gif, Table Layouts

Thursday, December 6th, 2007 by Jesper Rønn-Jensen

In case you missed it, Dustin Diaz has written this excellent parody on what the hottest web techniques were like before webstandards and css were invented. Seven hottest web 1.0 techniques to trick out your webpage. 2) Animation without JavaScript Believe it! It’s true. Drop those old scripts that made your website scroll and blink […]

How to Run JavaScript From Watir Scripts

Tuesday, November 20th, 2007 by Jesper Rønn-Jensen

What’s Watir? Read “Watir: Another sweetspot for Enterprise Ruby” Is it possible to run JavaScript functions or execute code from within your Watir test scripts? As a matter of fact it is, but I had a hard time finding the proper documentation for it. Here is what to do and how: Call JavaScript Functions from […]

Firefox Tip For Framebuster JavaScript

Monday, October 22nd, 2007 by Jesper Rønn-Jensen

I have for long been struggling with an internal legacy application that wraps the content page in a frameset. Very annoying because I have spent some time to reverse engineer a poor-mans API to the application. Problem: An inline “reverse” framebuster script that makes sure that everything is nicely(?) wrapped in the frameset. As you […]

Web Site Investigation Toolbox Update

Friday, October 12th, 2007 by Jesper Rønn-Jensen

bookmarlets.png I figured the original bookmarklet toolbox needed an update. Added Quirksmode detection, layout grid and updated PageInfo to accept framed pages.

E-Texteditor For Windows

Saturday, April 28th, 2007 by Jesper Rønn-Jensen

I have been looking a fast, intuitive editor for my Windows laptop. Now I stopped looking. E-texteditor for windows is very intuitive and easy to use. I highly recommend watching the screencast (a short tour of some of the best features). Although it’s still in beta, it seems so much better than the alternatives. I’m […]

Handy JavaScript Cookie Editor

Monday, January 29th, 2007 by Jesper Rønn-Jensen

2 years ago I wrote a small javascript to view, edit and delete cookies. The really cool thing about this user interface is the inline editing of cookie names and values. I really like the principle that you hover the value that you inspect, can see that it’s editable. Then click directly and the text […]

The IE PNG fix vs. Accessibility

Monday, November 6th, 2006 by Thomas Watson Steen

It is no secret that all versions of Internet Explorer on Windows prior to version 7.0 has a flaw in its PNG renderer. The flaw basically involves the rendering of the alpha transparency and means that the images cannot fade nicely into the background. The IE PNG bug explained In the screenshots below you can […]

Toolbox — locating problems in HTML

Monday, September 18th, 2006 by Jesper Rønn-Jensen

I decided to make a little toolbox that’s easy to apply on web pages, when investigating problems with web pages. Basically, it’s the tools I used when investigating the case I described in “Why web standards matter (case study)” I decided to split this into two posts. This first one is about the toolbox. The […]

Why Web Standards Matter (Case Study)

Thursday, June 29th, 2006 by Jesper Rønn-Jensen

Project managers often have a hard time understanding web standards and why they matter. In this case, my arguments made a perfect business case for the managers of a particular project.

Web Development Cheat Sheets

Tuesday, May 23rd, 2006 by Thomas Watson Steen

I just found this page on ILoveJackDaniels.com: Cheat Sheets. It contains a bunch of cheat sheets (you know the good old reference posters that is nice to have around the office). Realy good stuff. Now I just need to go to the office after dark to print a couple of posters on the A0 plotter […]

XMLHttpRequest soon becoming W3C standard

Monday, April 10th, 2006 by Thomas Watson Steen

I just found out (via BorkWeb) that the W3C is looking to standardizing the XMLHttpRequest object which is the foundation for all AJAX based applications. Today this object is implemented by all the major browsers. But because there is no standard dictating how this object should behave, the implementations are a bid different. That in […]

Web developer’s collection of browser tools

Wednesday, November 30th, 2005 by Jesper Rønn-Jensen

With the release of Firefox 1.5, I thought it’s time to make a round up on the tools and plugins that makes my everyday work faster, more efficient. Here are some of my favorite tools for Firefox and a few for Internet Explorer.

JavaScript Shell: Useful tool for editing DOM and JavaScript

Tuesday, November 1st, 2005 by Jesper Rønn-Jensen

Jesse Ruderman has a tool for live-editing JavaScript and DOM on any webpage. I have found it very useful and indispensable for rapid JavaScript development, bug finding in unknown code. Couple of days ago I asked Jesse to consider some improvements, which he now incorporated. I really recommend this tool, especially the ability to investigate […]