PDA

View Full Version : Remove frame



glucarelli
11-17-2006, 07:47 PM
Hello all

I have a website (MyWebsite) which is redirected by another website (TheWebsiteWhoRedirect.com) who add an annoying frame at the top of my website here is the code :


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>MyWebsite - Redirect by TheWebsiteWhoRedirect.com</title>
<meta name="keywords" content="MyContents">
<meta name="description" content="MyDescription">
<meta name="revisit-after" content="1 days">
<meta name="robots" content="ALL">
</head>
<frameset rows="23,*" frameborder="NO" border="0" framespacing="0">
<frame name="ad" src="http://TheWebsiteWhoRedirect.com/frame.html" noresize scrolling="no">
<frame name="main" src="MyWebsite ">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
<a href="MyWebsite ">Click here to continue to MyContents</a>
</body>
</noframes>
</html>

is there a javascript code i could add to MyWebsite/index.html or how could i write a specific css to remove or reduce the frame "ad" as i don't have access to the page where the code above is located.

Any advice would be helpfull

ddadmin
11-18-2006, 01:43 AM
You could try adding a break out of frames (http://www.javascriptkit.com/script/cut36.shtml) JavaScript to the top of your page.

glucarelli
11-18-2006, 01:48 AM
Thank you very much ddadmin works great :)