Technology
getElementsByClassName() doesn't work?
18/03/08 14:00
Interesting bug--
After writing an iPhone portal for TSTN, I wanted to add login/logout support. I figured I would use the newly hyped "getElementsByClassName()" javascript method, that they talk about in some of the iPhone SDK videos.
Anyway, it worked just fine on Aspen, but it didn't work on Safari. I gave up last night, and then today I noticed that Safari was complaining about the getElementsByClassName(). I then upgraded to the latest Safari (3.1) released today, and it works.
Interesting though, it still doesn't work on the iPhone, which implies the Aspen simulator uses a different version of webkit than the actual iPhone, but not the same one that is installed on your machine by Safari.
After writing an iPhone portal for TSTN, I wanted to add login/logout support. I figured I would use the newly hyped "getElementsByClassName()" javascript method, that they talk about in some of the iPhone SDK videos.
Anyway, it worked just fine on Aspen, but it didn't work on Safari. I gave up last night, and then today I noticed that Safari was complaining about the getElementsByClassName(). I then upgraded to the latest Safari (3.1) released today, and it works.
Interesting though, it still doesn't work on the iPhone, which implies the Aspen simulator uses a different version of webkit than the actual iPhone, but not the same one that is installed on your machine by Safari.
iPhone Blog Support
17/03/08 13:34
How to make an iPhone specific RSS reader for your
site using Dashcode, and then make your site
auto-redirect to it if it detects an iPhone or iPod
touch... Read
More...
Setting up a Subversion on Leopard (OS X 10.5)...
16/03/08 14:24
Setting up a Subvsersion repository on Leopard is
significantly easier than under Tiger. Instructions
are included. Read
More...
Wii First Impressions....
13/03/07 12:51
So I just got my Nintendo Wii today. Here's the
initial skinny. Read
More...
Setting up Subversion server...
17/10/06 16:47
Because I'm prone to forget, and this is useful...
Read
More...
Cingular/Battery Life/User Experience Issues
24/04/06 08:25
My phone stopped working reliably last week. I talked
to Cingular today, and they told me to turn it off.
Read
More...
Now that Adobe owns Macromedia, will Dreamweaver and Flash work?
15/12/05 22:11
Every so often, I have to do something with
Dreamweaver and/or Flash. And it's always a teeth
pulling exercise...
Read More...
Read More...
Can Sprint make a Bluetooth phone that actually works?
14/12/05 21:29
I've been with Sprint for two years, and I'm
still waiting...
Read More...
Read More...