Javascript
Information
What else do I need to know?
Targetting Links
Let's say you have a 2 framed page... one side being the menu and one side being the main content section. If you have your links in the menu section, you want them to open in the content area. To do this, you need to target the frame. On the basic frames page, with this type of layout, we named the two sides "menu" and "main" for the frame names. When you're writing the link, you'll use those names as the target source. For example:
<a href="LINK URL" target="main">TEXT</a>
See how we put the word "main" in the target field? As long as your frame name is still main, when this link is clicked, it will open in that frame.
Adding a Border
To add a border to your frames, just add a border code to your frame source code, like this:
<frame src="menu.htm" name="menu" style="border: 3 solid #bd0000">
Targetting Links
Let's say you have a 2 framed page... one side being the menu and one side being the main content section. If you have your links in the menu section, you want them to open in the content area. To do this, you need to target the frame. On the basic frames page, with this type of layout, we named the two sides "menu" and "main" for the frame names. When you're writing the link, you'll use those names as the target source. For example:
<a href="LINK URL" target="main">TEXT</a>
See how we put the word "main" in the target field? As long as your frame name is still main, when this link is clicked, it will open in that frame.
Adding a Border
To add a border to your frames, just add a border code to your frame source code, like this:
<frame src="menu.htm" name="menu" style="border: 3 solid #bd0000">