Click to See Complete Forum and Search --> : Frames, I frames and links to them.


red_of_rby
06-06-2003, 05:22 AM
Hello.

I have an ambitious plan. I would like an image to be displayed within an iframe, within a frame, linked to another frame. My code so far might help.....

page= "celebflash.htm"
<html>
<head...../head>
<body>
<frameset rows="12%,*" framespacing="0" border="0" frameborder="0">
<frame src="celebs.htm" name="header" scrolling=false>
<frameset cols="30%,*" framespacing="0" border="0" frameborder="0">
<frameset rows="40%,60%" framespacing="0" border="0" frameborder="0">
<frame src="topcelebs.htm" name="current" scrolling=false>
<frame src="teamcelebs.htm" name="team" scrolling="auto">
</frameset>
<frame src="submitcelebs.htm" name="detail" scrolling=false>
</frameset>
</framset>

page="iframe.htm"
<body>
<iframe src="blank.htm" name="__image" frameborder="0" scrolling="no" align="middle">
</iframe>
</center>
</body>
</html>

Within "teamcelebs.htm" i want this link......

<a href="Fives/test1.jpg" target="Fives/iframe.htm#_image">Christina Aguilera</a>

What I get is the image been displayed in a new window.

Can anyone make any suggestions?

DaveSW
06-06-2003, 05:38 AM
try changing the target to just the name of the iframe. (without the path)