|
Posted by Jim Carlock on 04/01/06 08:14
"Big Bill" <kruse@cityscape.co.uk> wrote:
> http://www.promcars.co.uk/pages/bonnie.php
> I don't believe they should be there, can I take them out without
> stopping the includes from functioning? I'm the (hapless) optimiser
> on this one... I have to correct where they've spelled my name
> wrong too...sigh...
Bill, look at it this way...
If every page has the same image at the top of the screen, the same
menu on the left of the screen, and then they have the same opening
<div class="maincontent"> tag, the best way to handle this is how?
Furthermore, if they ALL have the same <link > tag including the
same CSS file, the same javascript include tags, why not create one
file and just include it after inserting the
<title>,
<meta name="keywords" ...
<meta name="description" ...
and they all will contain the same things here, unless you dynamically
load the left menu, topmenu items, et al. And even then, the included
file could identify which page gets loaded, and dim out the appropriate
menu items.
</head>
<body><div id="topbanner">...</div>
<div id="leftmenu">...</div>
<div id="maincontent">
tags. Furthermore, if each page reads it's keywords and description
and title from a database, you could configure it all inside one include
file, and use the page name/folder/or whatever to identify which record
to load and your whole presentation could come from a database.
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|