Hi Anna.
I'm not sure about the previous thread, but one solution could be to create
an html page with just the content you wish to be globally available and
then insert that content into multiple pages using an `<iframe>` element.
For example:
'''
<!doctype html>
<body>
<header>
<h1>Department Name</h1>
<nav>
<iframe class="global-nav" src="http://path.to/global-nav.html">
</nav>
</header>
</body>
</html>
'''
Brian Zelip
---
MS Student, Graduate School of Library & Information Science
Graduate Assistant, Scholarly Commons
University of Illinois at Urbana-Champaign
zelip.me
On Fri, Jan 9, 2015 at 8:27 AM, Anna Headley <[log in to unmask]> wrote:
> Hi all,
>
> Some time ago there was a code4lib thread about hosting some content
> centrally (like a global navbar) for use on multiple web sites.
>
> I haven't been able to find it again. Can anyone point me to it?
>
> Thanks!
> Anna
>
|