JavaScript

IE8 must die!

I know what you think - Internet Explorer, argh! But thankfully, IE6 is dead. IE7 share is also rapidly diminishing. What about IE8? Unfortunately IE8 is the top most IE on Windows XP. And this is a favorite Windows distribution for many users still. Long live IE8? Please, no. Here is why...

HTML compass madness!

So I wanted to do a compass from a while just to push it to some apps, mostly as a nice way of showing directions (e.g. "this way to the museum"). I thought that the hardest part would be to draw the needle, and translate North azimuth to object azimuth. Turned out I was wrong...

Update: There is now a more stable version of below code with additional library for mocking compass and PhoneGap support. See: WebCompass project.

Strony

Subskrybuj JavaScript