www.webdeveloper.com
Results 1 to 3 of 3

Thread: displaying two sites in frames?

  1. #1
    Join Date
    Aug 2011
    Posts
    2

    Question displaying two sites in frames?

    I am having trouble figuring out the correct way of displaying two different web sites in one browser within frames IF one of those two sites also uses frames.
    For example

    The following works because the two target sites do not use frames

    frame src="http://www.obriensweb.com/sked/mobile.php?board=lotw">
    <frame
    src="http://www.obriensweb.com/sked/mobile.php?board=digitalradio">

    BUT if I use

    <frame src="http://www.obriensweb.com/sked">
    <frameset rows="80%,20%">
    <frame src="http://hamspots.net/">
    <frame src="http://www.obriensweb.com/sked/">
    </frameset>

    The two intended web sites open for a fraction of a second and then a browser reverts to just one of the target web sites, not both. Both sites contain PHP as well as HTML . You can see what happens by going to http://www.obriensweb.com/digispotter.html

    Is it possible to code two frames targeting different web sites that also use frames ? I used to be able to do it but something seems to stop it nowadays.

    Andy

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Your problem is that one of the sites is using JavaScript to defeat you. I'm afraid that there is little that you can do other then using a server side script to grab, tinker with and then send that site.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Aug 2011
    Posts
    2
    Quote Originally Posted by Charles View Post
    Your problem is that one of the sites is using JavaScript to defeat you. I'm afraid that there is little that you can do other then using a server side script to grab, tinker with and then send that site.

    Thanks. You will at least save me lots of time trying.

    Andy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles