Web Analytics Made Easy -
StatCounter Reference'n iFrames? - CodingForum

Announcement

Collapse
No announcement yet.

Reference'n iFrames?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reference'n iFrames?

    Hi there,

    I've an iFrame that jumps to parts of the page, from a menu located on the page that the iFrame sits on. The following line works fine with IE:

    document.frames("contentOut").location.href='about_ica_txt.htm#'+para;

    NS6.1 didn't fall under the document.layers catergory, so i tried referencing with getElementById:

    document.getElementById("contentOut").location.href="about_ica_txt.htm#"+para;

    Could any 1 shed some light..
Working...
X