Any HTML guru out there?

OK, here´s the problem, I want to make a link to open a specific page on a frameset; for example, in Page1 I Have Link1 and Link2, Link1 opens a frameset consisting of a topFrame (navigation bar) and a mainFrame, which has Content1.htm, Link2 opens the same frameset, but should open in the mainFrame Content2.htm…
Clear? :confused: ´cause I don´t have the slightless idea of how to do it; I´d be more than gratefull to recive help.

In general, using straight-up HTML, you can only update the contents of a single frame with a single hyperlink. It’s common, however, to use Javascript to update more than one at once.

I’m not clear on your exact setup. How many frames are in the frameset, and how are they laid out? You mentioned topFrame and mainFrame; are the hyperlinks Link1 and Link2 in either one of these, or in a different frame?

The frameset setup is: a topFrame navigation bar and a mainframe for the content.

As for the links they are in a completely different page, for example,

LINK1

LINK2

From here those links should take me to the frameset and open in the mainFrame either the Content1 or Content2 HTML files… or that´s the idea.
I haven´t thought about JavaScript though…

Once you have NAMEd the frames (in the Frameset page), you can set the links (on any page) to TARGET that frame. There are many ways to do this, but the easiest is to put TARGET=“mainFrame” in your HREF link.

I think that’s what you are describing, but I must admit, it’s not clear from your OP.

Oh wait. I see. Then what you need is two different Frameset pages to link to, each with different content in your mainFrame.

Actually I had already thought that, but it would be a mayor PITA because I´ll be using more than just 2 pages, I´ll end up with a complicated maintenance so I was looking for a more elegant solution, although I had to admit I wouldn´t hesitate much to do it by brute force if needed. :smiley:

Achenar, you were right, it needs Javascript; thank you for pointing me where to look. I found a site that explains how to do it ; it´s quite handfull of coding for a link although. :stuck_out_tongue: