•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,669 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,590 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2056 | Replies: 2
![]() |
| |
•
•
Join Date: Aug 2004
Posts: 18
Reputation:
Rep Power: 5
Solved Threads: 0
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.
If I did not make myself clear, just post and I will try to clarify.
Your online gaming directory! Free Online Games
Is the frameset one of your pages? In other words you have a layout like:
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.
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Error Loading operating System (Windows NT / 2000 / XP / 2003)
- Trouble loading Norton Go Back Software (Windows Software)
- Error loading sbusbdll.dll (Viruses, Spyware and other Nasties)
- Error loading RUNDLL files upon boot (Viruses, Spyware and other Nasties)
- Help with a reservation program! GUI Messed XD (Java)
- Problems loading websites (Web Browsers)
- IE 6.0 freeze while loading (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: Dynamic web page for multilingual
- Next Thread: Save the values of a form



Hybrid Mode