The_Rain_King Posted March 21, 2003 Share Posted March 21, 2003 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 More sharing options...
0 The_Rain_King Posted March 21, 2003 Author Share Posted March 21, 2003 sorry guys, i guess that was correct after all. Thanks anyways. Link to comment Share on other sites More sharing options...
Question
The_Rain_King
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