Posted by sanguineraven on 10:58:00 12-24-2002
Recently I have been creating my site, currently located
here although I run it on IIS server for testing and APACHE server.
Currently no links work and no banner etc as I am still designing. I want the links to open a page in a table, in the right cell of the site.
Initial thought was use a template with the header footer and menu and just edit, but I wanted to try something different.
I have used an iFrame to load in pages to that table. However a quick search on google revealed that iFrames are fixed size. I want the table to change size to accomodate the page I load in.
So my question is, how do I implement what I asked? Can I? or do I jsut have to go with Template or SSI
Posted by KaGez on 13:06:00 12-24-2002
you can resize the iframes. Just set the height parameter in the iframe tag:
<iframe height="....">
Maybe checking out the w3c references on this issue would help too.
However, you _could_ calculate the height of everything you are going to display inside the iframe, but that is probably going to need a vast amount of CPU power, and thus would be slow.
Why don't you use conventional frames? Those would "resize" automatically
I'd go with the non-frame solution tho. I use frames only where it is nearly impossible or annoying if it wasn't with frames.
_________________
I can't go to heaven and I was banned from hell, so I'm stuck HERE!
KaGez
[ This Message was edited by: KaGez on 2002-12-25 23:55 ]
Posted by sanguineraven on 21:49:00 12-24-2002
If I set the height tag then its still limited size, if I load in something bigger, it has to scroll, if I load in something smaller then there is wasted space, unless there is a way to change the height tag when a html page is loaded in
Posted by nelson8801 on 23:20:00 09-29-2003
That server support SSI.You can use SSI instead of Javascript. This is more easier.
Posted by cowsarenotevil on 02:40:00 09-30-2003
!! I've seen you before
EDIT: Unless of course there's another "sanguineraven"...
[ This Message was edited by: cowsarenotevil on 2003-09-30 02:40 ]
Posted by cowsarenotevil on 02:42:00 09-30-2003
Quote:
On 2002-12-24 21:49, sanguineraven wrote:
If I set the height tag then its still limited size, if I load in something bigger, it has to scroll, if I load in something smaller then there is wasted space, unless there is a way to change the height tag when a html page is loaded in
You can change it dynamically with a script, unless I misunderstand something.
EDIT: NOT... ANOTHER... STUPID... NECRO!
[ This Message was edited by: cowsarenotevil on 2003-09-30 02:42 ]