stew Posted June 26, 2012 Share Posted June 26, 2012 (edited) Dear coders, I simplify the problem; now all I need is the link page (see image above) to replace the parent page with the iframe. PS the link page don't have any iframes just a simple page. Hope this is possible, here is the code for the pages (below) please update with new code and post it. PS simple keep your answers as simple as possible as I'm new to coding. thanks for any help Parent page code: <body><iframe src="iframe.html" width="100%" height="150" frameborder="0" style="position:fixed; Left:0px; bottom:0px"/iframe> Parent Start Page</body>iframe page code:<body><a href="link.html">iframe Link</a></body> Edited June 26, 2012 by stew Link to comment Share on other sites More sharing options...
eTianbun Posted July 4, 2012 Share Posted July 4, 2012 (edited) <a href="#" onClick="location.href='link.html'">Iframe link</a> EDIT:PS: dont forget to close your iframe tag properly! Edited July 4, 2012 by CodeName 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