Archive for December, 2007

Happy Christmas, ZSNES! (*and the rest of you normal people)

ZSNES has one of the coolest little easter eggs built in!!!!!

I’m sitting here playing Wizardry V for a bit before bed.

I pressed “ESC” to get to the menu to change a setting in the emulator, and what do I see in the background except

SANTA AND HIS REINDEER DASHING ACROSS THE SCREEN!!!!!!!!

Happy Holidays to all of you who have made ZSNES possible:

Main Coders

* zsKnight
* _Demo_
* pagefault

Contributors

* Pharos
* teuf
* relnev
* prometheus
* theoddone33
* EvilTypeGuy
* stainless
* aaronl
* MKendora
* kode54
* zinx
* amit
* Khan Artist
* hpsolo
* Kreed
* Neviksti

And the same to the rest of you out there as well :)

edit: I just read the ZSNES message boards and have edited this post to make it a *little* less obvious. I can’t spoil *all* the fun…

Laryngitis: The gift that keeps on giving!

I just got back from California…well…I didn’t “get back”, because I already have back…umm…

I just arrived back in Florida after visiting California for a long weekend. If you ever get the chance to see Chanticleer, then by all means DO SO.

Tuesday morning, one of my coworkers decided to attend work while sick. To any of you reading this, please note: attending work while sick is *not* chivalry. And thus, he got all of the rest of us sick for the holidays. We’re all just kind of angry at him right now, because those of us who have mandatory family attendances will likely also be getting *them* sick.

On a lighter note, I just discovered that “Might and Magic” for the original Nintendo has “Canon in D” (very nice arrangement for flute, click the link) as its opening theme!

IE, DHTML, onclick, and anonymous functions

So! I’m using the DOM to create dynamic popups, and I’ve just discovered that in order to create something that will work across all browsers without having to tell IE that an element is itself, you should us an anonymous function, i.e.:

myNewNode.onclick = function(){alert("Testing!");};

After adding the onclick property of the node (NOT via using setAttribute), you may *then* add the node as an appropriate child node to other elements on the page. Or, assuming that you’ve kept a reference to the node and didn’t simply leave it on the heap somewhere known only to JavaScript, you may add it later :)

IE7 and border-bottom bug

I’ve just discovered that IE7 has issues with border-bottom. It doesn’t seem to want to always draw the bottom border of text placed within a <h4> for some reason. This is the solution:

display: inline-block; vertical-align: bottom;

Edit: You know what? I think I might be the first person to publish this one ^_^