Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

iframes and parent.document

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Crusader

Established Member
Impact
6
Code:
<script type="text/javascript"><!--
document = parent.document;
//--></script>

I have the above code contained in an iframe. It loads on both Firefox and Internet Explorer but it gives me an "Access Denied" error in the loading bar (bottom left hand of the screen) after the page loads on Internet Explorer.

Any ideas on how to fix this?

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
What is it being used for? Could you post the other code? :tu:

Dan
 
0
•••
It's basically just an iFrame that loads the above code followed by Adsense code.

HTML:
<iframe id="a780ee65" name="a780ee65" src="urlOfIframe.php" frameborder="0" scrolling="no" width="300" height="250"><a href="linkHere.php" target="_blank"><img src="imagehere.jpg" border="0" alt="" /></a></iframe>

urlOfIframe.php
HTML:
<script type="text/javascript"><!--
document = parent.document;
//--></script>
<!-- google adsense code etc -->
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back