Javascript and Frames
-
I am trying to figure out how to load one frame from an event in another. Here is me frames page <frameset border="0" frameSpacing="0" rows="15%,80%,5%" frameBorder="0"> <frame name="top" src="index.htm" scrolling="no" width="50%"> <frameset cols="25%,75%" > <frame name="treeframe" src="HtmlPage2.htm" scrolling="yes" > <frame name="Content" src=""> </frameset> <frame name="bottom" src="HtmlPage3.htm" scrolling="no" width="50%"> </frameset> I am clicking a link in treeframes and want to load the page into Content. I have tried everything i could think of and other things I found on somne javascript sites. My page will loadinto itself or not load and casue the frame to go blank. Any help is greatly needed and appreciated Joe
-
I am trying to figure out how to load one frame from an event in another. Here is me frames page <frameset border="0" frameSpacing="0" rows="15%,80%,5%" frameBorder="0"> <frame name="top" src="index.htm" scrolling="no" width="50%"> <frameset cols="25%,75%" > <frame name="treeframe" src="HtmlPage2.htm" scrolling="yes" > <frame name="Content" src=""> </frameset> <frame name="bottom" src="HtmlPage3.htm" scrolling="no" width="50%"> </frameset> I am clicking a link in treeframes and want to load the page into Content. I have tried everything i could think of and other things I found on somne javascript sites. My page will loadinto itself or not load and casue the frame to go blank. Any help is greatly needed and appreciated Joe
-
The simplest way is to not use javascript at all:
<a href="PageToLoad.htm" target="Content">
--- b { font-weight: normal; }