Alternative to an iFrame?

B

Ben Falcon

I use iFrames to embed html pages within a main page. To accomplish the
same, are there alternatives to iFrames?

Thanks!
 
T

Travis Newbury

Ben said:
I use iFrames to embed html pages within a main page. To accomplish the
same, are there alternatives to iFrames?

First decide WHY you want to embed HTML pages in other HTML pages.
Your reasons are probalby wrong.
 
M

mark | r

Travis Newbury said:
First decide WHY you want to embed HTML pages in other HTML pages.
Your reasons are probalby wrong.

use xml if you can get the content exported in the first place, or use a
code parser to rip the content between two definable elements and drop it
into your website - the later is a little slow tho

mark
 
B

Ben Falcon

Hello Mark,

I regularly parse html files when serving dynamic cgi content. For example,
my cgi may read the document and insert the content between the definable
elements you mention. I know that the same can be accomplished with php,
asp, etc...

In my case, the website in question is a purely static (non-changing) site
consisting of html files. Because of this, I can only imagine that an isapi
filter loaded on the webserver would do the trick since it would process
each served html page. But truthfully, I was hoping to find a much simpler
solution, like iFrames for instance. But because of the show stopping
cookie limitation that I mentioned to Travis, I am hoping (and grasping at
straws) that maybe, CSS would somehow help out.

Thanks,

Ben
 
B

Ben Falcon

Travis,

I'm currently using iFrames to display data and they've worked very well in
other circumstances. Unfortunately, I'd like for the iFrame embedded
document to read and set cookies. When the document is enbedded within an
iFrame, the embedded document cannot read and/or set cookies, or so has been
my experience. If that document (the embedded one) is taken out of the
iFrame, it has no problems setting/reading cookies.

I was pretty much wondering if CSS (which I know absolutely nothing of),
will allow for me to 'embed' another html document within a specified or
'contained' area.

Thank you,

Ben
 
T

the idiot

Ben Falcon said:
I use iFrames to embed html pages within a main page. To accomplish the
same, are there alternatives to iFrames?

Thanks!
scrolling div?
 
S

SpaceGirl

Ben said:
I use iFrames to embed html pages within a main page. To accomplish the
same, are there alternatives to iFrames?

Thanks!

Server Side includes (google: ssi) and <div>'s with scrolling turned on.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top