On 22 Sep 98, Susan Duncan wrote:
> Essentially each page on the
> site opened the frame from scratch, put the "meat" of the page in the
> first frame and then put the footer in the second frame. By doing it this
> way, each page had it's own meta tags and its own URL. It didn't save as
> much time as traditional frames, but it did have a menu that was always
> there without the drawbacks of most framed sites.
Hmm... well, I may be pointing out the obvious here, but I'll review it just
in case anyone has missed this particular technique.
One way of achieving what Susan describes (though not the only nor
necessarily best way -- just the best *I've* come up with so far) is to
have each new URL on the site be a new frameset, with _TOP as its
target. Thus:
page1.html =
<frameset cols="100%" rows="75%,*">
<frame name="Frame 1" src="main_1.html">
<frame name="Frame 2" src="nav.html">
</frameset>
page2.html =
<frameset cols="100%" rows="75%,*">
<frame name="Frame 1" src="main_2.html">
<frame name="Frame 2" src="nav.html">
</frameset>
... and so on. A link from the first frameset to the second would be in the
form of <a href="page2.html" target="_top">Link</a>, which would
completely replace the first frameset with the second. However, it would
*look* like the same frameset, because "nav.html" would reload in the
same place at the bottom. (Other arrangements of files/frames are
obviously possible as well.)
The main limitation of this technique is that the screen must completely
redraw with each new frameset. But because the browser will likely be
caching the files that remain constant from frameset to frameset, there
should not be a significant lag. Advantages are: (a) it is still a true
framed document; but users (b) can bookmark unique, accurate URLs for
each page on the site; and (c) can expect predictable behaviour from the
browser's Back and Forward buttons.
I have a demo of this process at:
http://www.almonte.com/trip/photo1.html
This is just a test page I put together when I was tinkering with different
ways of doing a "slideshow".
-----------
Brent Eades, Almonte, Ontario
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Town of Almonte site: http://www.almonte.com/
Business site: http://www.federalweb.com
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------