my question is:

it is a video game website.

it has a main page, that has a frameset. one frame is the menu bar. the other is the content.

i have got a menu at the top of the page.

the menu has got a few links (options/buttons) e.g. pc, wii, ps3, xbox.

i want the user to press the button on the menu bar (e.g. pc) and in the contents the appropiate page will appear (the page that i have e.g. pc page).

how do i do that? how do i direct a button to open another page (in the content), while using frames in teh same context.

please html solution only

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Web with Frames</title>

<frameset rows="46,*" cols="*" framespacing="0" frameborder="no" border="0">
  <frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
  <frame src="content.html" name="contentFrame" id="contentFrame" />

Download this FILES (Example Frames)

Another FILE is not correct... The Correct file is:

For open another page (in the content), while using frames in teh same context.

You should write on page:
Example: Wii Page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Wii Page</title><style type="text/css">
.style2 {font-size: 100px}

<div align="center">
  <p><strong><span class="style2">WII Site</span></strong></p>
  <p><a href="" target="_blank">LINK TO ANOTHER PAGE OUT</a></p>
commented: thank you, it works now +0

Also, take a look at jQuery, it is designed for doing things exactly like that.

i got it. it works now

i use <a href="filename.html" target="content"></a>

it will open me tha page at contents.

Thank you

@NewOrder: If you could solve with the data presented, then change the forum resolved.

The target attribute is becoming/is deprecated, and frames are just a bad idea. This was written two years ago, but remains accurate today.

The best way to accomplish this is through a scripting language such as JavaScript, or as VulcanDesign said, jQuery - a JavaScript library that takes away the long coding for animated web effects.

Regards, Arkinder