... Javascript



• Don’t get framed


Recently I came across a website thatĀ  was displaying one of my pages in their own frame set which made it difficult to store the shopping cart session and was breaking the website functionality as well. The solution was a small piece of Javascript added between theĀ HEAD tags to remove all frames: <!– if (top != self)   top.location=self.document.location; [...]
Source: web-design-ireland | pub: 15 Oct 2007 by: Louie Eire Web Design | added: 26 Feb 2008 | cat: Javascript | views: 54 time/s
Categories
Channels
Press Release