[Nfb-web] [NFB-web] simulated frames

Thomas Stivers thomas.stivers at gmail.com
Fri Jun 22 21:08:14 UTC 2012


The third piece to consider is css. With a style sheet you can just place
each part of the page: links, header, content, Etc. in a <div> ... </div>
and then use css to position the divs. I would at least use php to include
your header and links so you don't have to duplicate the markup. You can
certainly find plenty of style sheet recipes for doing the kind of thing you
want and then tweak them to make it fit your needs exactly. Frames are
becoming more and more uncommon and in many cases people hide content in
frames and iframes in order to avoid ads.

-----Original Message-----
From: nfb-web-bounces at nfbnet.org [mailto:nfb-web-bounces at nfbnet.org] On
Behalf Of Blaine Clark
Sent: Friday, June 22, 2012 1:57 PM
To: nfb-web at nfbnet.org
Subject: Re: [Nfb-web] simulated frames

Brian, either HTML or PHP will do practically the same, an entirely new page
is loaded with both. With frames and iframes only the frame section of the
page is loaded new. Some visually impaired hate frames because only a
portion of the page refreshes while others prefer it. When or if using
frames, keep tabs on your visitor's comments to see if you're chasing any
away.

When coding, it's easier to use frames because you don't have to write an
entirely new page. If you have a HTML template, you have pretty much the
same ease when it comes to adding pages. You just make changes in each page
where you need them. The nice thing about PHP, if you need to make global
changes on all of your pages, and sooner or later you will, you only have to
edit the source PHP files. For example, to make a global change in your
header, you should have one header PHP file that you can change.

With HTML, you have to edit each and every file on your site to make global
changes, or you have to posses a batch editor and the confidence that the
changes you are making are correct and that you haven't missed any files.
Best and easiest in the long run is to make up a batch of PHP files, one
header, one left column, one center column, one right column and one footer
plus or minus whatever you need, then make a PHP page template. When you
make new pages use the template and add whatever content you want where you
want.

For your desired bit, probably two header PHP files would be best. One for
that left end of the header and another for the rest of the header. 
Perhaps placing 'header-left.php' in a header table + table row + table cell
width="33%"  and then 'header-main.php' in table cell width="66%" 
for a rough example would suit.

With practice and a guiding eye, you can do the same with divs instead of
tables.

Date: Fri, 22 Jun 2012 11:49:49 -0500 From: "Bryan Schulz" 
<b.schulz at sbcglobal.net>
hi, say if i want to layout a page with a small block of five links in the
top left corner and about 2 inches down, and take up maybe 1/3rd of the
screen to the right and the other 2/3rd of that strip is a header with
organization name, etc. then the rest of the page below that changes upon
hitting one of the links. i have basically read that frames are out/not the
way to go, so how would you do this and would you use html or php? thanks.
Bryan Schulz ------------------------------

_______________________________________________
Nfb-web mailing list
Nfb-web at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
To unsubscribe, change your list options or get your account info for
Nfb-web:
http://nfbnet.org/mailman/options/nfb-web_nfbnet.org/thomas.stivers%40gmail.
com





More information about the NFB-Web mailing list