Frame height

Z

Zang

I design a web page that uses frames. I have 3 horizontals frames and the
middle frame containts two vertical frames. Like this:

---1---
-2- -3-
---4---

The frame 1 will contain the page tile, the frame 2 will contain a menu and
frame 3 will show what the user has selected in the menu. What I would like
is that the frame 3 adjust its height with the contents instaid of showing
the scrollbar.
 
Z

Zang

Ok, Is it possible to have a iframe that ajust its height with its content?

Thanks!
 
S

Steve Pugh

Zang said:
I design a web page that uses frames. I have 3 horizontals frames and the
middle frame containts two vertical frames. Like this:

---1---
-2- -3-
---4---

The frame 1 will contain the page tile, the frame 2 will contain a menu and
frame 3 will show what the user has selected in the menu. What I would like
is that the frame 3 adjust its height with the contents instaid of showing
the scrollbar.

Not possible.

Steve
 
Z

Zang

Sorry, I start leaning html this morning...

Here's what I want to do.

I need a header, a footer and two colums in the center. The left colum is a
menu with 3 items and the right colum is where the 3 different item info
will appear. The info that will appear, will be selected in the menu. You
inderstand, right?

I want a footer that is pushed down by the content. I could make 3 different
complete pages... But if I need to change the header or footer after, I will
have to modifi the 3 page!

What tool should I use?
 
W

William Tasso

Zang said:
Sorry, I start leaning html this morning...

Then stop immediately - just for a minute.

Where did you learn about frames this morning? Whoever/whatever[1] you are
using as a learning tool should be removed from your field of reference with
immediate effect.

There is no valid reason why a student (in HTML) should be learning about
framesets in 2003 - it is ancient technology and only useful in a very small
(insignificant - close to zero) number of applications. The so-called
benefits of using frames are based on incorrect assumptions aka rumour,
speculation and gossip. Plug this: "frames are evil" into your favourite
search engine if you care to research the issue further.

Welcome to alt.html - have fun.

[1] If it is a book then burn it; if a web site then remove it from your
'favourites' and block it at the fire-wall; if a person then please explain
to them what you have been told here - they are welcome to come and discuss
the issue.
 
Z

Zang

You understand what I want to do? Can you suggest me something. Thanks

William Tasso said:
Zang said:
Sorry, I start leaning html this morning...

Then stop immediately - just for a minute.

Where did you learn about frames this morning? Whoever/whatever[1] you are
using as a learning tool should be removed from your field of reference with
immediate effect.

There is no valid reason why a student (in HTML) should be learning about
framesets in 2003 - it is ancient technology and only useful in a very small
(insignificant - close to zero) number of applications. The so-called
benefits of using frames are based on incorrect assumptions aka rumour,
speculation and gossip. Plug this: "frames are evil" into your favourite
search engine if you care to research the issue further.

Welcome to alt.html - have fun.

[1] If it is a book then burn it; if a web site then remove it from your
'favourites' and block it at the fire-wall; if a person then please explain
to them what you have been told here - they are welcome to come and discuss
the issue.
 
Z

Zang

Thanks alot, I will check the ways you describe me!

Sean said:
You understand what I want to do? Can you suggest me something. Thanks


I tried to post a response earlier, but I think it got lost.

What you want to do is create a template structure where your menu system
is constant and your content is variable. Check out a site like CNN or
something - notice they use a single page, but things like headers and
footers stay the same while the middle changes. They use pre-generated
HTML I presume.

quickly, here's *some* ways to accomplish that (some require more
knowledge than others).. take as a starting point for more investigation.

1. Buy an HTML editor or site builder that will manage this task for you.
Sorry, I don't use 'em so I can't recommend any, but names like Adobe,
Macromedia are big.

2. Use manual cut and paste (worst option other that frames!)

3. Use multi-file search and replace (cheap pre-generated HTML). Create
your content files and put unique strings in them where you want the
header and footer like this
...
%HEADER%
... your content
%FOOTER%
and then use a text editor like homesite, editpad lite or something to
replace the strings with your menu system and footer.

4. Use a server site script which takes the content URL as a querystring
variable. Example, /template.[asp|jsp|php]?content_file=news_article_
1.html. I'm sure there are lots of example scripts out there to
accomplish this.

5. Use shtml files, and use the #include directive to include the
header/menu and footer around your content.

6. Write a program to pre-generate your html from content files and
header/footer files.
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top