Click to See Complete Forum and Search --> : linkin to a iframe
pulze1
03-11-2006, 08:35 AM
how do i link to a iframe i want it so when someone visits my website and they click a link a iframe opens in my template and not in a new window and how can i make the iframe transparent thanks for n e one who helps in advance ??
the tree
03-11-2006, 12:35 PM
Apropriately divided sentences, capital letters and commas are a god-send: use them well.
Targeted links are the simplest way although they aren't supported in HTML4.01-Strict. Iframes as a whole aren't that great, use server-side includes if you can.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>A super-duper magical iframe.</title>
</head>
<body>
<iframe id="boobaa" src="http://google.com" style="width: 400px; height: 400px;">
<!-- <p>Alternate content</p> -->
</iframe>
<ul>
<li><a href="http://google.com/search?q=monkies" target="boobaa">Search for monkies</a></li>
<li><a href="http://google.com/search?q=fish" target="boobaa">Search for fish</a></li>
</ul>
</body>
</html>