[Hidden-tech] How can I get this HTML to pull in the menu, header, footer, and sidebar files?

Michael Muller tech at montaguewebworks.com
Tue Jul 27 19:43:33 UTC 2021


If I recall correctly, a plain html file will not do any includes, as 
that requires some smarts. I believe shtml will respond to #include.

If this is a php page, use <?php include 'footer.php';?>

Mik

Mik Muller, president
Montague WebWorks
239-R Main Street, Greenfield, MA
413-320-5336
http://MontagueWebWorks.com
Powered by ROCKETFUSION

On 7/27/2021 3:02 PM, Shel Horowitz via Hidden-discuss wrote:
> A follow-up question to my post yesterday, now that I got the landing 
> page working properly. I am revising some of the obsolete inner pages, 
> such as Shel's Other Books and Sites (frugalfun.com) 
> <https://frugalfun.com/othersites.html>, and I notice these files are 
> not pulling most of the page design elements, other than the green 
> sidebar--but not the text that goes into the sidebar.
>
> At the end of the <head> section, it calls the CSS:
>
> <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <meta name="MSSmartTagsPreventParsing" content="TRUE">
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <meta name="robots" content="all">
> <meta name="copyright" content="Copyright (c) 1997-2021 by Shel 
> Horowitz. All Rights Reserved.">
>
>
> <link REL="StyleSheet" TYPE="text/css" HREF="ffstyle.css">
>
> <script SRC="menu.js"></script>
>
> <script language="JavaScript">
>
> function goThere() {
>
>  newUrl =
> document.ChooseLink.LinkList.options[document.ChooseLink.LinkList.selectedIndex].value
>
>  window.location = newUrl
>
> }
>
> </script>
>
> </head>
> <body>
>
>
> And then at the bottom, it calls the specific elements--but the file 
> doesn't display them:
>
> </p>
> <!-- -------------------------------------- -->
> <!--#include file="menu.shtml" -->
> </td>
> <td width="120" length="100%" valign=top bgcolor="#60a040" 
> cellpadding="5">
> <!--#include file="sidebar.txt" -->
> </td>
> </tr>
> <tr>
> <td colspan="100%">
> <!--#include file="footer.txt" -->
> </td>
> </tr>
> </table>
> </body>
> </html>
> -- 
> What am I doing wrong?
>
> Many thanks,
>
> Shel Horowitz - "The Transformpreneur"
> ________________________________________________
> Contact me to bake in profitability while addressing hunger,
> poverty, war, and catastrophic climate change
> * First business ever to be Green America Gold Certified
> * Inducted into the National Environmental Hall of Fame
> * Certified speaker: International Platform Association
> http://goingbeyondsustainability.com 
> <http://goingbeyondsustainability.com>
> mailto:shel at greenandprofitable.com 
> <mailto:shel at greenandprofitable.com> 413-586-2388
> Award-winning, best-selling author of 10 books.
> Latest: Guerrilla Marketing to Heal the World
> (co-authored with Jay Conrad Levinson)
>
> Watch my TEDx Talk,
> "Impossible is a Dare: Business for a Better World"
> http://www.ted.com/tedx/events/11809 
> <http://www.ted.com/tedx/events/11809>
> (move your mouse to "event videos")
> _________________________________________________
>
>
>
> _______________________________________________
> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
> Hidden-discuss at lists.hidden-tech.net
>
> You are receiving this because you are on the Hidden-Tech Discussion list.
> If you would like to change your list preferences, Go to the Members
> page on the Hidden Tech Web site.
> http://www.hidden-tech.net/members
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20210727/ca799418/attachment.html>


Google

More information about the Hidden-discuss mailing list