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
    New to the CF scene
    Join Date
    Sep 2002
    Location
    Australia
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Trapping a webpage inside a frame!

    Hello All
    I need some help with my frames. Im building a website which will only be used on my intranet and not the WWW.

    I have a frameset with a mainframe and a left frame. In the mainframe i have a link to a website which will not stay inside the left frame. Is there a script or technique which will assure that anywebsite i visit will stay within that frame.

    Normally it wouldnt be a problem but its important that all webpages viewed through my frameset stays within the frame.

    I do not wish to use this to trap people using this frame as I mentioned early, this frame is only used on my intranet and is only used by me.

    Thankyou in advance.
    Steve Szasz - Webmaster
    Page1 Ranking and Website Optimization

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    If that site is popping out of your frame then it probably means they are using javascript to prevent their site from being framed by someone else.

    If that is the case then there is not much you can do.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    page1, please do NOT cross post. Closing this thread.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.


  •  

    Posting Permissions

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