Vitalic Posted September 26, 2006 Share Posted September 26, 2006 I have a frame B. In that frame are my buttons. If I press on those buttons I want them to open in frame C. How do I do that? At the moment I have this but it doesnt work:frame_b.htm <title>Frame B</title></head><body bgcolor="#C0C0C0"> <p><a href="frame_c.htm" target="home.htm"><img src="http://i10.tinypic.com/2u5cllz.jpg" border="0"></a></p>I have nothing typed in home.htm (exept for some text that should appear) and I have also nothing typed in frame_c.htm.What do I do wrong here?Btw, I want home.htm to open in frame_c Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 26, 2006 Share Posted September 26, 2006 target="frame_c"Nottarget="home.htm"also, your href should be href="home.htm"and also don't forget to close your img tag!<img src="image" border="0" /> Link to comment Share on other sites More sharing options...
Vitalic Posted September 26, 2006 Author Share Posted September 26, 2006 Its still not working, I tried that before. Now I have: <p><a href="home.htm" target="frame_c.htm"><img src="http://i10.tinypic.com/2u5cllz.jpg" border="0"></a></p>I thought I maybe had to type something in the other files(home.htm, frame_c.htm) Do I have to change something there? Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 26, 2006 Share Posted September 26, 2006 You shouldn't have to add anything extra to the pages. What does your frameset page look like?Could you copy and paste that pages html please Its still not working, I tried that before. Now I have:I thought I maybe had to type something in the other files(home.htm, frame_c.htm) Do I have to change something there?You don't need .htm on the target. You just need the name of the frame from your frameset page. Link to comment Share on other sites More sharing options...
Vitalic Posted September 26, 2006 Author Share Posted September 26, 2006 <html><frameset rows="25%,75%" border="1"><frame src="frame_a.htm"><frameset cols="15%,85%" border="1"><frame src="frame_b.htm"><frame src="frame_c.htm"></frameset></frameset><head><title>Hoofdpagina</title></head><body></body></html> Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 26, 2006 Share Posted September 26, 2006 Ok, on your frameset page do this: <html><frameset rows="25%,75%" border="1"><frame src="frame_a.htm"><frameset cols="15%,85%" border="1"><frame src="frame_b.htm" name="links"><frame src="frame_c.htm" name="content"></frameset></frameset><head><title>Hoofdpagina</title></head><body></body></html> Then on page B, the link should be: <p><a href="home.htm" target="content"><img src="http://i10.tinypic.com/2u5cllz.jpg" border="0" /></a></p> That will change the web page in the content frame from "frame_c.htm" to "home.htm" Link to comment Share on other sites More sharing options...
Vitalic Posted September 26, 2006 Author Share Posted September 26, 2006 YYAAAAAAAAAAAAAAAAYYYYYYY.Its working :)thanks:D:D Link to comment Share on other sites More sharing options...
Cronthenoob Posted September 26, 2006 Share Posted September 26, 2006 Anytime Good luck with your future projects! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now