An interesting problem: a bunch of Struts Nested tags generate HTML. Separately, we write some Javascript that makes use of getElementById() to find some of the generated elements. This works in Internet Explorer, but fails miserably in FireFox. Why?
Well, it turns out that Struts Nested tags generate elements that have a name attribute but not an id. Separately, IE actually does the wrong thing with getElementById(): if a search by id fails, it will try to match by name; that’s fundamentally broken. It’d be fine if a bunch of libraries and other functions didn’t prefer the use of ids, and if other browsers did the same thing. They don’t and we’re stuck with the mess. Let’s clean it up.
The right thing to do would be to cripple the IE version into the...
My keyboard is normally hidden in a cupboard whilst children are loose but the trackball is accessible. Sometimes I find myself using cut and paste to type things. ... (60 words)Internet Software javascript virtual keyboard codeproject usb portable...
In
Scotland,
internet,
Personal,
photos,
Angus,
Carnoustie,
Software,
Fun,
dog,
spaniel,
Beach,
Springer,
wet,
sand,
virtual,
keyboard,
codeproject,
usb,
portable,
JavaScript
Two things worth mentioning, firstly my own work.
I wrote a Geocoder. Recently we've been doing a lot of things with maps at work, and getting longitude and latitude from a postcode or address to plot points is always a little troublesome, especially when the best way is to pull values out of the Google Maps query string (for the non-techies, that's the bit after a '?' in a URL).
Based on geopy and Google Maps it took about an hour and a half to put together. I don't have a massive database of postcodes—so that's not what my massive database is for!
The other thing. TED Talks.
Of my semi-daily-non-RSS-reads, Guy Kawasaki is up there, and a while back he mentioned Majora Carter, a woman from the South Bronx who spoke at TED. This led me to investigate more and I've now watched...
Something I've been thinking about for some time now is the notion of Minimum Input, Maximum Output (MIMO), it's one of those (at least I think so anyway) beautifully simple and brilliant ideas that just makes sense straight away.
MIMO boils down to getting computers to be more 'intelligent', doing more of the obvious things for us (think auto-complete on speed). One good example is Exif information and Flickr. Both of my cameras and most others capture information about the camera and it's setup and embed it in the picture file. Flickr then grabs that information when you upload a photo and stores it along side so anyone could in theory recreate the photographic effects you used.
Another example is e-mail addresses, typically corporate e-mail addresses are of the form...