Some time ago GeoCities changed their ad square, causing either a floating square to appear on the right margin of the page, or a framed version of it that could be minimized. Normally this wouldn't bother me; since GeoCities is the host of my web page, and I don't pay them, they can pretty much do what they want.
Now, since I can't publish via FTP to GeoCities unless I pay them, I ended up having to host my Blog elsewhere. When I decided to redo the front page of the site, this left me with adding Java Script to automatically redirect traffic to this front page as it would not be hosted at GeoCities.
Things were fine for a while. The GeoCities ad square would only appear on pages hosted by Geocities, and not anything hosted elsewhere. Alas, things quickly changed, and even my front page, hosted at Blog*Spot, was getting an ad square; GeoCities was loading my site, then framing the content loaded by the Java Script.
Well, I had enough of that: I did some Googling today and found some fantastic code from ASP Web Pro that breaks out of frames automatically. They're my new heroes.
No comments:
Post a Comment