-
Iframe Help ?????
Okay so this have probly been posted over and over agian but my tiny brain can't find them lol
So all i need is when you click a link ont he site its only the content box that changes not the whole page, I have looked ont he forum but its so confusin yet seems so simple :s
Okay thank you!
-
I beleive you mean this code, change the target to the name of your main content box' name. the rest is self-explanitory
HTML Code:
<a href="linkhere" target="iframename">LINK</a>
-
To make the acutual iframe:
<iframe name="iframename" src="URL HERE" width="100%" height="350px"></iframe>
-
that is just making it bigger/smaller/wider he wnats it so when you click a link it only links to a certain iFRame not the whole page.
-
Just make a link, and make the source of it, the iframe name.
-
The Iframe:
<iframe src="URL" height="100px" width="100%" frameborder="0" name="frame"></iframe>
A Link Into The Frame:
<a href="page.htm" target="frame">My Page</a>
-
<html>
<head>
Code:
<base target="framename">
</head>
<body>
The iframe
Code:
<iframe src="Look Below" height="200px" width="50%" frameborder="0" name="framename">Text here that people who dont have iframes enabled to see</iframe>
Links that will display in the iframe
Code:
<a href="page.html">Page</a>
Page to open in same window, not the iframe
Code:
<a href="page.html" target="_self">Page</a>
Link to open in new windon
Code:
<a href="page.html" target="_blank">Page</a>
Link in the iframe to open a page in the whole of the page that the iframe is in
Code:
<a href="page.html" target="_parent">Page</a>
Link to iframe if you do not put the base thing in, NOTE: i suggest you use this anyway to help browser compatabillaty
Code:
<a href="page.html" target="_framename">Page</a>
</body>
</html>
Look below: The url of the page that will be displaied in the iframe when the page is loaded
Hope it helped!