Even without JavaScript, back in my day doing some basic CSS stuff could effectively* do this too.
*Background showed if image doesn’t. Not hard to work around but did something if ad didn’t load.
There was better technique using CSS but I ran small band websites for basically free tickets so I wasn’t chasing riches. Just hosting cost. Single small ad was enough.
Even without JavaScript, back in my day doing some basic CSS stuff could effectively* do this too.
*Background showed if image doesn’t. Not hard to work around but did something if ad didn’t load.
There was better technique using CSS but I ran small band websites for basically free tickets so I wasn’t chasing riches. Just hosting cost. Single small ad was enough.
Tip for who wants to do it nowdays: use an SVG please…
Back in my day we did exact pixel measurements and compensated for IE6 breaking shit.