PDA

View Full Version : CSS iFrame Alternative?


pygmalion
04-15-2005, 08:40 PM
Hello, I am using iFrames on the page at http://www.pygmaliondesign.com/indexsite1.html, and I hear they have some compatibility issues. Does anyone know of some good CSS alternatives to them? I was thinking about just defining a block and putting my blue dotted border around it, with text in between. That seems like it would be tedious to edit though...any other suggestions?
THanks

pb&j
04-15-2005, 09:08 PM
you can change the contents of an iframe upon a link click.
css does not provide this capability.
it can appear similar, but a new page would be loaded fully for a click change.

pygmalion
04-15-2005, 09:10 PM
thats what i thought :(
can anyone tell me exactly what the disadvantages to iframes are? thanks

n1ckn4me
04-15-2005, 09:17 PM
I would almost say google it but I did it for you (http://www.benefit-from-it.com/index.php?fa=wdu101pageStructure.iFrames) . ;)

pygmalion
04-15-2005, 09:19 PM
thanks! I should have, but Im at school, so I really can't. thanks! :D

n1ckn4me
04-15-2005, 09:22 PM
np :D

Blackmes
04-16-2005, 03:13 AM
is there a way, in the case the iFrame page is opened from an external site aka google search, to make it open teh parent page that holds the iframe??

thanks.

-frau.

Rezznor
04-17-2005, 09:01 PM
I'm not sure about iFrames, not having done it myself, but using Frames you can do it. i.e.

<script language = "Javascript" type = "text/javascript">
if (top.location == self.location)
{
self.location.replace ("mainframewindow.html")
}
</script>

Essentially it checks to see if the frame is at the top-most level (the page that holds the frameset). If so, then great. If not, then it replaces itself with the top-most level.

pantiebandit
06-21-2005, 05:21 PM
Is there any possible way that you could contain the called on page? I usually do use iframes because they are so easy, but I have had recent issues with them. I am looking for any alternative as well.