Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

iFrame link

Should be simple issue here, but cant find out what Im doing wrong!

Ive got a simple iframe which when the user click on a link, the iframe changes to that.

Using a frame is easy, and I thought that iFrame is the same, but obviously not.

Any ideas where Im going wrong here?
<body>
<a href="http://www.google.co.uk" target="ifraBody">google</a><br />
<a href="http://www.bbc.co.uk" target="ifraBody">bbc</a><br />
<a href="http://www.hotmail.co.uk" target="ifraBody">hotmail</a><br />
 
<div id="divBody">
	<iframe id="ifraBody" src="body.php"></iframe> 
</div>
</body>

Open in new window

SOLUTION
Avatar of siranm
siranm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial