Nov 22, 2009

Linking Iframes - Linking Objects to Iframes

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Signature Design

Linking Iframes - Linking Objects to Iframes

jpw
Hello, I'm really new at web design and I know little about code; so if this is an obvious answer... sorry. I'm trying to have an iframe appear when an object is clicked on. All of my objects (links) are the same on every page and so this way the whole page wouldn't have to reload. I want all of my links to work like this and then dissappear when a different link (object) is clicked on.

Here's the code I found that I'm trying to use and substitute my stuff with. Currently I need the www.w3.org to be replaced with an object not text. Is this possible?

<html>
<head>
<title>Wahid's Iframe</title>
<style type="text/css">
<!--
iframe {position: absolute;top:20%;left:30%;width:324; height:200; border:no;}
a:link{font-family:arial;font-size:18px;color:#000000;}
a:visited{font-family:arial;font-size:18px;color:#000000;}
a:hover{font-family:arial;font-size:18px;color:#ff0000;}
a:active{font-family:arial;font-size:18px;color:#0000ff;}
//-->
</style>
</head>
<body>
<iframe name="wahid">
</iframe>
<a href="http://www.ahfb.2000.com/webmaster_help_desk/showthread.php?t=2242"target="wahid" >www.ahfb</a><br/>
<a href="http://www.google.com"target="wahid" >www.w3.org</a><br/>
<a href="http://www.s3schools.com/css/default.asp"target="wahid" >www.w3.org</a><br/>
</body>
</html>

Any help is appreciated!
Thanks

 

 

 


Comment/Reply (w/o sign-up)

Sten
well it looks like it doest what u want to me.

just a thing, with the links, put a space between the address and a target, like this <a href="http://www.s3schools.com/css/default.asp" target="wahid" >www.w3.org</a> for your last one.

thats how you get something to show in an iframe. and when someone clicks on another linke it will show in the iframe providing you have it going there.

also, what about a main page/home page in the iframe for when you first go on the site?
do that like this <iframe src="http://www.sitegoeshere.com"></iframe>

why is this in signature design?



Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Linking Iframes Linking Objects Iframes


    Looking for linking, iframes, linking, objects, iframes

See Also,

*SIMILAR VIDEOS*
Searching Video's for linking, iframes, linking, objects, iframes
advertisement



Linking Iframes - Linking Objects to Iframes

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com