There once was…

A few years back there was this web agency that had a sister company that was into online advertising. At about the same time a lot of changes were happening in the advertising market and some innovations were needed. There was also a young web developer that was eager to create something impressive. Something cross-browser which wasn’t as easy then as it is today with YUI and others.

The developer took on a challenge of creating a new banner format that was already being used on some foreign sites. With a twist – the idea was to make it work on more than just the most popular browser. It was possible but some advance testing and expert “guessing” needed to be done. The challenge proved to be difficult but not unsolvable.

Since the script were to be used on advertising sites that already had their own JavaScript the functions needed to be ‘namespaced’ in order to avoid clashes. The developer wasn’t going to create an object but instead prefixed all his functions with an acronym. The acronym was chosen as an experiment – its meaning was hidden to see if others would just adopt it.

Every now and then I still get a floating banner to implement to a site. Not my primary focus anymore but still. And I always get a smile on my face when I see that the closing function is called “praHide” – “pra” is the acronym and it stands for “Parsek Rich Ad”. The code has changed since the first implementation and different agencies have different JavaScript functions. The name stayed the same though. I guess it became a sort of a standard. As has the 500×500 which we started using back in the day…

2 Responses to “There once was…”

  1. Marko says:

    So, tell me, how do you sleep at night? ;-)

Leave a Reply