Google+ Tools
Make Google+ profile picture
Make Google plus banners for profile
Create and share your Google Plus profile banners.

Profile image for mrk studios NeverPool on May 15, 2011
Shows how to change your iFrame via a clicked link.
Language
HTML/CSS
Tags

Linking to iFrames


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>Linking to iFrames</title>
</head>
<body>
<a href="1.html" target="iframe" rel="nofollow">Main</a> <!-- In order to link to an iFrame, you must set the target by using target="iframe" -->
<a href="2.html" rel="nofollow">2</a> <!-- If you do not set the target, it will take you to the page you linked to, instead of changing the iFrame. -->
<div align="center">
<iframe name="iframe" src="1.html" width="700" height="700" id="main"></iframe> <!-- Be sure you set the iFrame name! Do this by using name="iframe" -->
<br></div>
</body>
</html>

Comments

blog comments powered by Disqus