Advanced Search

Results 1 to 3 of 3

Thread: Broken Link?... if (parent.frames.length > 0)...

  1. #1
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Broken Link?... if (parent.frames.length > 0)...

    Code:
    if (parent.frames.length > 0) {
        parent.location.href = self.document.location
    }
    Site Report Card reports that this code on my page is a broken link.


    I am assuming it should be...
    Code:
    if (parent.frames.length > 0) {
        parent.location.href =http://www.schoolhouseflash.com/index.html
    }
    Is this correct or should there be quotes or anything else included?

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by clicken View Post
    Code:
    if (parent.frames.length > 0) {
        parent.location.href = self.document.location
    }
    Site Report Card reports that this code on my page is a broken link.
    Then "Site Report Card" is clearly flawed - not unusual for that type of site.
    Mike

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

    Default

    It seemed logical to change it to match the same code used in the other pages of the frameset butů I am learning not to assume.

    Thanks!

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
  •