|
Posted by Harlan Messinger on 10/30/06 22:50
richard wrote:
>
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:920c5$45460ea8$40cba7a4$10610@NAXS.COM...
>> richard wrote:
>>> I'm thinking of a simple 2 division page on which the top division is
>>> a menu.
>>> The 2nd division is an iframe which changes depending on the menu
>>> choice.
>>> I know there is a way to do it and hopefully without javascript.
>>> Just need to brush up on how to do it properly. Who's got a sample
>>> for me?
>>>
>>
>> Since you are generating you page server-side I cannot understand why
>> you would need to include with an IFRAME.
>
> 2,000 plus files as a possibility to be selected would be more easily
> accomplished in an iframe.
> Saving to have needlessly repeat the menu on every page.
It isn't needless, it's the better way to do it. Among reasons why:
1. Otherwise, people won't be able to bookmark your pages or send links
to them to other people.
2. Search engines will either ignore your site, they'll display links to
the material that goes into the IFRAMEs, which means that anyone who
comes to your site via the search engine won't see your navigation.
But you define the common code on every page. You put it in a separate
file and #include it on each page with the following one-line directive:
<!--#include file="common_file_name"-->
Navigation:
[Reply to this message]
|