Results 1 to 3 of 3

Thread: Random iframe content problem

  1. #1
    Join Date
    May 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random iframe content problem

    1) Script Title: Random iframe content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndomiframe.htm

    3) Describe problem: does not work with all URL's. Note this page using the code: http://www.kabubble.com/random2.htm. Both nytimes.com and iht.com do not stay within the frame but rather take over the entire screen. You cannot back up to get into "random2.htm" again. The other url's work correctly.

    I have limited search to 5 url's.

    Ry Smith

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's the way, uh huh, they like it. Many sites are sensitive about their content being 'enframed' on another site. To this end there are many, many variations on a simple script or bit of code in another script that simply checks to see if the top.location is their page. If it is not, a command is issued to make the top.location=their page. There is nothing you can do about this unless you can edit their page other than perhaps capturing their function and reassigning it but, this may not be possible, it is just a thought. In any case, if they don't want to be in your frame, best to respect that.
    Last edited by jscheuer1; 11-05-2006 at 10:25 PM. Reason: get vernacular right
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John. Maybe there's a workaround somewhere...

Bookmarks

Posting Permissions

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