andare.ch – Blog

Blog von Anita, David, Mira, Noe und Ava auf andare.ch

Tagcloud:

Anita Apple Ava Blogging Bundesrat Compi David Familie FIFA Fun Fussball Gigathlon Harald_Schmidt Internet iphone iPod iTunes Laufen Leichtathletik Links Läufe Mac Mac_OS_X Mira MobLog Musik Noe Politik Public Salsa Schnee Schweiz SF Ski Software Sport Sportevents SVP Tipp Varia Velo Wandern WEF WordPress Zürich

Artikel:

20 min. to charge to Gates

Two days ago I installed the Gallery photo gallery project on a friends web site, together with a small patch to allow to send photos directly to lab here in Switzerland.

Today he calls me to tell there’s a Javascript error when one tries to add a photo to the cart for the added photo lab. Turns out that this only happens in Internet Explorer.
After debugging the faulty line on the basis of a very meaningful Javascript error message (‚Invalid argument‘), I finally figured out that IE, unlike Firefox, doesn’t like blanks in the second argument for the window.open() function, which is the window name. I really like stuff like that.

Note: Amazingly selfHTML doesn’t mention this special behaviour on the window.open() syntax, a site that I often use as a reference and has – up until now – always been helpful. Well, nobody is perfect.