Hi there, I have been asked to redesign the naviagtion for a site, that currently has not real flow, or consistency to the navigation.
Having made my own version of the increasingly popular dhtml drop down menu system, I have been asked to include it on every page using a SSI, something along the lines of
<html>
<head title="Existing page on site, so can I keep all my existing tags
+ please>
<!-- #include virtual = "/header.inc" -->
</head>
<body>
<!-- #include virtual = "/nav.inc" -->
Existing html
</body>
</html>
This works like a charm, but the problem comes when trying to apply this same simplicity to perl generated html pages. At first I was surprised that when including the above code within an html here doc, it did not work.
A few seconds later, after actually thinking about it I realised that it made sense for it probably not to work.
What I really want to know is if there is an easy work around, or what the best / simplest way to do this might be.
Fortunately there are only four or five scripts to edit.
Any comments / suggestions much appreciated.
Regards,
Gerard
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.