473,320 Members | 2,054 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Including page inside other page (similar to iframe)

Hi,
I would like to include one page inside an other page, almost like a
IFRAME does it. The problem is that I would like the included part to
occupy as much space as it needs, so it would be treaded as a DIV. In
other words if it the included page exceeds a given size it would
resize to to show full included page. Normally, the IFRAME would
create scrollbars. I also tried with <object data="page.html"
type="text/html">, but the result is the same - the are created
scrollbars instead of automatic extension.

I'm affraid that it isn't possible. Does anyone has an idea how could
I do it (a part from merging pages on the server side)?

Best regards,
Marcin Okraszewski
Jul 20 '05 #1
1 8388
Marcin Okraszewski <ok****@o2.pl> wrote:
I would like to include one page inside an other page, almost like a
IFRAME does it. The problem is that I would like the included part to
occupy as much space as it needs, so it would be treaded as a DIV. In
other words if it the included page exceeds a given size it would
resize to to show full included page. Normally, the IFRAME would
create scrollbars. I also tried with <object data="page.html"
type="text/html">, but the result is the same - the are created
scrollbars instead of automatic extension.

I'm affraid that it isn't possible. Does anyone has an idea how could
I do it (a part from merging pages on the server side)?


What's wrong with merging pages on the server side? That's the only way to
do what you want to do reliably.

See also http://www.htmlhelp.com/faq/html/des...l#include-file and
http://www.htmlhelp.com/links/preprocessors.htm
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"No matter how far you have gone on the wrong road, turn back."
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Theo | last post by:
Just a quick question... When including a page inside another (include('page.php')), is it bad for the second document to also have <head> and <body> tags etc? Im using iframes currently, and it...
2
by: Tom Szabo | last post by:
"Tom Szabo" <tom@intersoft.net.au> wrote in message news:419fe530$1@dnews.tpgi.com.au... > Hi All, > > I have a page and inside the page I have an IFRAME. From the page I like to > change the...
2
by: Sheryl Landon | last post by:
Hi, I'm having a similar issue as the poster Mike whose message I copied below... I have a page with an iframe... when I discover that the session state is no longer valid in the page inside the...
2
by: Rob | last post by:
Hi Gang: I have a page that loads a remote page into an IFRAME. I don't have any control over this remote page though the page is owned by the same company I work for. The problem is that all...
5
by: Tudor Tihan | last post by:
Hi, This is my first post here, so please be kind. I have tryed to make a javascript html page loader by using an invisible <IFrame> and some javascript variable text passing between...
14
by: Silver | last post by:
I have a main page that includes one menu and one iFrame. Depending on the selections made on a menu, a different html page is loaded inside the iFrame. The menu is just a list of <a href=...> ...
2
by: news.sbcglobal.net | last post by:
Back in the good old days (or bad old days depending on your point of view) when I used frames to develop some of my web sites, I was able to designate which frame I wanted a page to open in. Now...
4
by: pbd22 | last post by:
hi. could somebody tell me, when uploading a file, i know the form where the upload component is must have enctype=multipart/form-data but, is the same true for the form with the server code to...
5
by: BerlinBrown | last post by:
Do you know if it is possible to wait for the iframe page to load and then manipulate the iframe DOM. E.g. mypage: <script> function myinit() { theiframe.location = "iframe_with_frames.html"...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.