Vier and Sechs in Munchen
Reader Comments (3)


Ryan

Hate to be the guy that always brings stuff like this up but your picture popus are broken in Google Chrome.




Michael

Ha! No, I really appreciate it. I mean, if I can't count on you for that kind of thing . . .

The truly hilarious thing is, I'm pretty sure this is a perfect repeat of the last time you sent me such a bug report - maybe 8 years ago? I probably still have the amusing mail from the episode somewhere, but the gist is I was using a totally, obviously reserved word - I think it was 'self' - as a variable name.

Guess what the problem was this time? When my image pop-up script's calculating window sizes, and image sizes, and where to position the latter in the former by x and y value and whatnot, what does it call the value it's working out for the y edge of the image? 'top'! Get it? 'top' - not a great var name in JavaScript with windows and parents and the whole DOM and whatnot.

It seems I'm no more clever than I was 8 years ago.

(The real tragedy is that I'm going to spend my life patching up these scripts, as technologies evolve away from where they were when I started . . .)




Ryan

Fantastic. I think last time I had more time on my hands and suggested a fix.

You could always switch to something like jQuery and let somebody else worry about it!




sound off

whatcha name


whatcha e-mail
(will be kept private and used for nothing)
display e-mail address (will be shielded from spammers)
get notified by e-mail when more comments added here

wheresya blog


whatcha gotta say


If you're human, enter this word in the box:


my latest book
ARISEN : Raiders, Volume 5 - The Last Raid by Michael Stephen Fuchs