Author | Comment |
Zachary940 Wraith
Posted: 25 Oct 2006 09:04 GMT Total Posts: 714 | Ok I am going to do my best to describe what i want.
ok for to start off say there is an index.html pafe with an iframe that disp page1.html. And when you click a link it goes to page2.html.
How do I create a link outside of page1.html, page2.html, and the index.html. so that when the link is clicke it shows the index.html page and the iframe shows page2.html.
Srry if that is confussing. Its a difucult question to explain. :)
--- It is much easier to suggest solutions when you know nothing about the problem. |
Andy Administrator Posted: 25 Oct 2006 10:25 GMT Total Posts: 939 | Same as you do with a regular frame. Put name="blah" on the iframe tag (should also put id="blah" where blah is the same for both), and target="blah" in your links. Note that target="blah" isn't XHTML compliant, as frames aren't in the spec anyway. You really shouldn't be using [i]frames. :) |
Zachary940 Wraith
Posted: 25 Oct 2006 10:41 GMT Total Posts: 714 | Yea I know how to do that. I need to know how to get the iframe to veiw a page by clicking a link off of the main page.
example
http://calcgames.org/id=22
has the the main frame diffrent then
http://calcgames.org
I know here at cg you use cgi. I do not so any help would be nice
--- It is much easier to suggest solutions when you know nothing about the problem. |
Andy Administrator Posted: 25 Oct 2006 10:50 GMT Total Posts: 939 | Oh, that's just the script on the server spitting out the initial frameset with a different main frame than normal. You can't do that without some server-side help. |
Zachary940 Wraith
Posted: 25 Oct 2006 11:59 GMT Total Posts: 714 | o well thanks anyway
--- It is much easier to suggest solutions when you know nothing about the problem. |