|
Rather than writing JavaScript to show or hide content that
applies to just one page, how about just embedding that
content in just one of the pages?
1. Does this example constitute a single page app (SPA)?
If this is an SPA, then it shows a very simple, responsive SPA
requires little in the way of JavaScript libraries or frameworks.
2. Are there pitfalls to modifying the site layout based on the
content being loaded into the page?
The site has a light blue box extending across the page containing the
site theme (i.e., "Social hope is faith in the ability of human beings
to care for each other"). I would like the site theme to show only on
the home page. I would like it hidden on the other pages to give more
scree real estate to the content of the page.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.