File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Html Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Html Frames" Watch "Html Frames" New topic

Html Frames

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 750
Hi, I'm trying to get the sizing right on my frames, basically I have this as front page:

So basically 3 rows, where the middle is split into 2 parts.
The html page that gets loaded in the middle right frame may be any size.
I don't want to put scrollabrs on this frame, but rather on the whole front page if necessary,
But I can't seem to get it right, can anyone help?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Can I ask why are you using frames in this day in age? Frames have more problems than benefits.

Don't have a solution since I have not worked with frames since 99.

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 750
Ok , so is the alternative using <DIV> ?

And what would be the best way to load in certain pages after a mouse click?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

CSS layouts replaced frames long ago. Ajax and DOM manipulation allow you to update portions of the page pretty easily (especially if using jQuery).

Full-page reloads can still use links and form submissions, or can be controlled under script control.

[Asking smart questions] [About Bear] [Books by Bear]
colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 750
So what should I use?

I agree. Here's the link:
subject: Html Frames
jQuery in Action, 3rd edition