Tuesday, October 21, 2008

Installing Silverlight 2.0 Developer Tools

as you might know, Silverlight 2.0 has been released. as i am wont to do, i went over to the site and downloaded myself the Silverlight 2.0 Developer Tools, which updates Visual Studio 2008 SP 1 and/or Visual Web Developer 2008 Express SP1 to work with the new release. unfortunately, the setup does not include Silverlight 2.0 Developer Runtime, and always attempts to download it (when i tried it on my computer, even when i'd downloaded the Developer Runtime and installed it separately, the install wizard still downloaded the Developer Runtime setup). to forestall this, download them both, unpack the Developer Tools setup into a folder (it's just a self-extracting package - almost any decent archiving utility on Windows can do this, i recommend 7-zip - WinRAR, ZipGenius and TugZip also can - i can't tell if WinZip does), and copy the Developer Runtime setup executable to the same folder. it won't download anything. well, work calls. later!

Monday, October 20, 2008

back at work...

got back to work today. late. it almost took me 2 hours to get to the office this morning. it only took 20 minutes yesterday!

crazy item of the hour: Exception occurred: OutOfMemor (thanks to edcba)

Wednesday, October 15, 2008

4x4=16

Biyi told me this joke a few days back, and i thought i should share it. there was this guy who bought a jeep with '4x4' on it, and was seeing a lady in a certain area. around there lived a not-so-balanced boy who saw the jeep everyday. one day, he took a stone and scratched '=16' after the '4x4'. later on, the owner came and saw his vehicle defaced. he got it fixed, but the same thing repeated twice. the owner then decided to add the '=16' after the '4x4' himself, and asked the body shop to do it for him. the next time the schoolboy passed the jeep, he saw the new 'equation'. he then took a stone and scratched 'VERY GOOD' and a tick on the jeep.

Fixed-position footer

i've been working (more accurately trying to work) on the TOS Funerals website design so it works well in older browsers, because it degrades horribly in them. for this to work, i needed a technique to force a footer to stay at the bottom of the window whether or not the content filled the window. the first technique i tried was from Boagworld. it worked like a charm - but only in newer browsers (Chrome, Firefox 3, Flock 1.2, IE 7, Opera 9.6, Safari 3/Win). it completely failed in IE 5.5 and 6 (quite unlike the advertisement. my guess is IE 5.5 and 6 don't understand the conditional comments).

so i got my rubber gloves on and tried getting a new technique - once again a Javascript-free method of getting about it. from yesterday's tests, this technique from Dave Woods' blog worked in IE 5.5 and 6, as well as the newer browsers. guess that's what i'll be using for now.

Update: the fault was with me. the Boagworld technique works. quite well, in fact. and it's smaller in both markup and styling.

here it is in Chrome:

Firefox 3:

Internet Explorer 5.5:

Internet Explorer 6:

Internet Explorer 7:

Opera 9.6:

and Safari 3/Win: