• 0

DOM help involving frames


Question

I'm am trying to put a site together and i'll try to cut to the important stuff.

I need to know how to change the visibility (through the style sheet property style.visibility) in one frame from from a link in another.

Here what I have so far which does absolutlty nothing.

window.top.frames['icontent'].pnlHome.style.visibility='visible'

according to my understanding,

window.top gets me to the top of the dom structure inside the window

.frames['icontent'] specifies the name of the frame that i'm referring to

.pnlHome specifies the named object in the html (it's a div tag in this case)

.style.visibility='visible' is supposed to make it visible

Can anyone please help me out? I have search all over google and found bits and piece of explanations but nothing concise and complete.

Thanks in advance.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.