STICKY POST
Wednesday, 11. March 2009, 20:55:15
This is my personal blog. The views expressed on these pages are mine alone and not those of my employer.
Wednesday, 11. March 2009, 21:01:48
internet explorer, css, css hacks, ie8
Well, someone had to find one eventually...:-)
IE8 Standards-Mode Only:
.test { color /*\**/: blue\9 }
All IE versions, including IE8 Standards Mode:
.test { color: blue\9 }
You should probably use conditional comments instead, but sometimes a good old-fashioned CSS hack can get you out of a bind (especially when you don't want to have to grab another external stylesheet).
edit: Hmm, paul.irish in the comments mentions that this also affects IE7. I could have sworn I tested it in IE7...anyway, keep that in mind if you use it. I'll try to figure out what's up.
Saturday, 14. June 2008, 20:48:42
browsers, hotmail, firefox, compatibility
...
After writing my
previous post, I realized: why only test Firefox 3 and Opera 9.5? Windows Live Hotmail is a pretty friggin' important site, so it should work everywhere!
So, I decided to test Hotmail's full "AJAX" version in the newest available versions of all 4 major browsers.
Opera 9.50 Final:
Full versionOpera 9.50 supports the full version of Windows Live Hotmail without any problems, thanks to Opera's innovative
browser.js site patching.

Safari 3.1.1 Final:
Redirected to classic versionSafari is not supported by Windows Live Hotmail's full version. At least the classic version works.

Firefox 3.0 RC3:
Error, redirected to classic versionAlthough Firefox is a supported browser for Hotmail, the latest version doesn't seem to work. Again, at least the classic version still works.

Internet Explorer 8 Beta 1:
Classic version unusable!Sometimes, I wonder if the folks who work for Microsoft actually use their own browser...
Friday, 13. June 2008, 14:31:57
Firefox 3.0 RC3:

Opera 9.50 final:

See how Opera 9.5 gets the rich, AJAX-ish experience, and Firefox 3 doesn't? Hmm...
It is pretty common for reviewers to say that Opera has compatibility problems with websites, and is thus not a suitable browser for day-to-day use...but that argument is not as valid as it used to be. Opera's behavior has become much more similar to that of Firefox and Safari lately, and technologies like
browser.js help to bridge the remaining gap.
In Firefox's defense, it is more compatible with the banner ad than Opera
Sunday, 11. May 2008, 15:05:19
apple, music video
Wednesday, 30. April 2008, 16:28:19
function, javascript, opera
Edit: Turns out this doesn't work for some native functions such as window.alert in IE. It fails exactly where the typeof operator fails :-P.
A lot of scripts
rely on Function.prototype.toString to determine if an object is a function in Javascript. This is
not compatible with many mobile browsers, which don't support function decompile (optional according to ECMA-262) for performance reasons.
According to page 103 of
ECMA-262 3rd Edition:
15.2.4.2 Object.prototype.toString ( )
When the toString method is called, the following steps are taken:
1. Get the [[Class]] property of this object.
2. Compute a string value by concatenating the three strings "[object ", Result(1), and "]".
3. Return Result(2).
This gives us a really easy way to know if something is a function in
any ECMA-262 compliant browser (including IE, Firefox, Safari, and Opera):
function isFunction(x) {
return Object.prototype.toString.call(x) == '[object Function]';
};
Friday, 25. April 2008, 11:24:49

This isn't supposed to be possible, right?
Thursday, 24. April 2008, 04:14:51
awesome bar, historysearch, asa, kestrel
...
After I saw
this in my Google Reader, I decided to try it for myself...

Yep, works in Opera 9.5 too :-)
Wednesday, 5. March 2008, 01:43:40
.cnnT1 h1
{font-family:Helvetica, arial, sans-serif;margin:0;padding:4px 0px 2px 0;line-height:24px;font-weight:bold;font-size:22px;}
CNN.com got the font-family order right :-)
Tuesday, 12. February 2008, 14:46:06
css, quiz
http://www.justsayhi.com/bb/css_quizMy score was 73...why oh why did I forget border-*-style? :-P
Showing posts 1 -
10 of 23.