Click to See Complete Forum and Search --> : Forced Framesize


Grunty
04-06-2003, 08:56 AM
I have a frameset which holds left, top and mainframe. The topframe holds title test and a navigation bar. Top and left frames are set to no-resize and no scroll. Mainframe is autoscroll.

When the page is viewed at less that full screen, the navigation bar is hidden.

How can I force the topframe to display all at the expense of the mainframe which can scroll anyway

Thanks

P.S. Not really sure if this is an html queston so I may be posting in the wrong area.

pyro
04-06-2003, 09:55 AM
Just use a pixel height for your top frame, and an * (an * means to take up the rest of the screen) for the main frame.

SniperX
04-07-2003, 04:15 AM
Heres an idea - why dont you just force the window to open in full screen.

e.g.
in your frameset tag put the following code
onLoad="if (document.all || document.id) {self.moveTo(0,0); self.resizeTo(screen.availHeight, screen.availWidth); }"

That should work

:D
Hope it helps
SniperX

(SniperX is a trademark to the man himself)