I'm having tons of trouble trying to figure out how to name the pages and reference them with PHP. Here's what I've got so far:
<?php $thisPage="Selling"; ?>
<html>
<head>
<title>Selling</title>
/CSS Management*/
</head>
<?php if ($thisPage=="Selling") {
echo " class=\"open\"";
} else " class=\"closed\""; ?>>
<div id="navigation>
<ul>
<li>Home</li>
<li>Selling Main</li>
<div id="sublink">
<ul>
<li>Sublink1</li>
<li>Sublink2</li>
</ul>
</div>
</ul>
</div>
<?php if ($thisPage=="Buying") {
echo " class=\"open\"";
} else " class=\"closed\""; ?>>
<div id="navigation>
<ul>
<li>Home</li>
<li>Buying</li>
<div id="sublink">
<ul>
<li>Sublink1</li>
<li>Sublink2</li>
</ul>
</div>
</ul>
</div>
Would This Work? Can anybody think of a better way to do this?