Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: iframes

  1. #1
    New Coder
    Join Date
    Nov 2004
    Posts
    55
    Thanks
    8
    Thanked 2 Times in 1 Post

    iframes

    So I've built a page that has multiple iframes, anyways it all works aside from 1 of the frames. The problem is when that 1 frame loads the external site that site causes a page refresh and sends the whole page to that website. I'm wondering if there is a way to keep this from happening. Hope that makes since, clear as mud right?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,851
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I'm wondering if there is a way to keep this from happening.
    Why are you stealing other's content to display on your site?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Nov 2004
    Posts
    55
    Thanks
    8
    Thanked 2 Times in 1 Post
    I'm not stealing content, this site won't even be live. At my job (I work in tech support at a call center) We have to use 5 different websites pretty much all the time, and the IT department has blessed us with internet explorer 6 and won't upgrade. So I'm just trying to declutter my start bar and make things easier and quicker to use.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,851
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    and the IT department has blessed us with internet explorer 6 and won't upgrade.
    Life without Firefox?

    Anyway, I think those sites might be using some javascript code to prevent from viewing using iframes/frames. If so, you'd need block javascript in your browser.

    Quote Originally Posted by twitter.com
    <script>if(window.top!==window.self){document.write="";window.top.location=window.self.location;setT imeout(function(){document.body.innerHTML=""},1);window.self.onload=function(){document.body.innerHT ML=""}};</script>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New Coder
    Join Date
    Nov 2004
    Posts
    55
    Thanks
    8
    Thanked 2 Times in 1 Post
    Well crap, have to have javascript for some of the sites to work so I can't shut it off


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •