🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.web.design
Article #408

Re: using frames and lining up 2 pages w/ one scroller

#408
From: Jonathan_Balza
Date: Wed, 28 Jul 2004 14:47
7 lines
1834 bytes
Well... my suggestion would be to either not use frames, or make both have a scrollbar or not have a scrollbar. Instead of frames, I would suggest using an include to place the header at the top of each page.

One question: Why are you using the frame? are you doing it just so you don't have to include that code on every page, or is it for asthetic reasons, or do you just always want it on the page? The reason will probably change the solution you would want to use. For the most part, you really shouldn't need to have the Frame. They are usually more trouble then it's worth.

I'm pretty sure if you force a frame to have a scrollbar, you have to have both horizontal and vertical bars, which may cause you a problem. Getting rid of both may also cause a problem.

Which leads me to - and I can't believe I'm saying this - if you absolutely NEED to have the header always on the page (and there shouldn't be any reason to) then I would suggest using an iFrame *shudder* or Flash for the bottom of the page to keep the scroll bar limited to just the bottom of the page.
Technical Details
Message-ID: <3bb53c5c.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb53c5c.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: ffb7c,eba60f138682980d
X-Google-Attributes: gidffb7c,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jonathan_Balza@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.web.design
Subject: Re: using frames and lining up 2 pages w/ one scroller
Message-ID: <3bb53c5c.0@webx.la2eafNXanI>
Date: Wed, 28 Jul 2004 07:47:34 -0700
References: <3bb53c5c.-1@webx.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit