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 3 of 3
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,979
    Thanks
    120
    Thanked 76 Times in 76 Posts

    Embeding another page inside my page

    There is the test:
    http://86.61.66.17:8084/AgroZoo/testHTML/testHTML.jsp

    embed link works as planned, even back button on browser is ok

    embed link1 does not work as planned

    what is the difference ?

  • #2
    Senior Coder
    Join Date
    Nov 2006
    Posts
    1,000
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The difference is

    Code:
    if(window.top != window) {
    window.top.location.href = window.location.href;
    }
    Apparently whoever runs that site doesn't want their webpage in a frame, so they force their site to take over.

    david_kw

  • #3
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,979
    Thanks
    120
    Thanked 76 Times in 76 Posts
    Thanks.


  •  

    Posting Permissions

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