View Full Version : Kill an iFrame with JS?

01-18-2006, 12:07 AM
Is it possible to have a JS script to kill an iFrame on my site? Its bugging the hell out of me! Ive tried using <noscript>, <noembed>, and <noframes> but to no extent. Possible?

01-18-2006, 12:21 AM
Why? Can you give us a link to your site? I have a feeling you are trying to get rid of some type of advertisement. You get what you pay for in this case nothing.

01-18-2006, 12:26 AM
Got me :p http://parkinglotlust.byethost6.com/ is the site. I dont mind having an ad or two on the site, but when I use frames it screws the layouts up. I understand that its free, therefore they can have ads, but Id like to keep one ad per screen, instead of three.

01-18-2006, 12:29 AM

1.4) No illegal requests- Do not post requests that are illegal or break the usage terms of the service in question, such as where to download warez, disable pop up ads on your free host etc.

I know it's not a popup but the same thing applies really. Just pay for some hosting, you can get it very cheap nowadays and it'll be so much more beneficial to you in the long run.