When copy paste kills


Javascript’s currently popularity has brought up a lot of code best practices from more proper OO languages. Among them, namespacing. While the idea behind it is to make your code play well with others, it reminds me to make sure my code won’t play too well.

An attempt to listen to this jukebox while browsing these images proved most frustrating. Seems the actionscript in the Flash audio accompanying the photos stopped the jukebox audio. I don’t know much about Flash or actionscript, but I do know I’ve had multiple Flash files playing audio simultaneously before (not that I really wanted them to, but at least I could stop one without it stopping the other).

I used to browse portfolios once in a while and javascript popup windows used to be even more popular. It’d be fun when the person’s portfolio opened in a popup window, then a popup from one of the sites they did used the same name parameter with window.open forcing it to load over the portfolio.

Point being, make sure scripts that affect the user agent are site specific or perhaps even instance specific in some cases (e.g. when popping info that one might want to keep open alongside another pop).


  1. majafa 20060719

    what happened to the “less tech talk rubbish. Next time” promise?

    I didn’t believe you about the jukebox and images not being able to work at the same time, so I tried it. At first I thought you didn’t know what you were talking about…then once the first image fully loaded the music went silent. huh.

  2. waytoocrowded 20060719

    Technically, the next time was part of the Moving Crowd, so I totally stuck to my words.

  3. puddingcups 20060720

    i like the picures. mmmm marrow.

  4. puddingcups 20060720

    ps- it’s suppose to say “pictures” (really i can spell)

  5. jb 20060720

    f’ing nerd.

Skateboards and bikes are better at nights

Skateboards and bikes are better at nights. 0 comments.

Search WayTooCrowded
The Header Should Always Point Home