I have a webpage that i would like to add a link on it that links to a page with two different frames. However, depending on what the value of the link is, I would like to open a different page in one of the frames. If anyone could explain or help me with how I could do this, it would be greatly appreciated.
If I did not make myself clear, just post and I will try to clarify.

Is the frameset one of your pages? In other words you have a layout like:

MAIN              FRAMESET
--------          --------
       |          |   f1 |
link --------->   |------|
       |          |   f2 | 
--------          --------

And you want f2 to be different based on a value you attach to the link/querystring?

If that's correct, let me know, and I'll show you how to do that.

I have a cross-browser (FireFox and IE) sample of this code working at:

http://www.tgreer.com/daniweb/main.html

You do have to use a little JavaScript and a bit of misdirection. If this example does what you want, let me know and I'll provide an explanation of what is happening.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.