Can somebody please tell me how I can get this to work?
It should compare the active link with the button's link then display the button accordingly.
This file is 'included' in every page.
CODE:
function header ()
{
<div <?if ($PHP_SELF == $thisPage){echo "class=\"activeLink\"";} else { ?> class="button" onMouseOver="this.style.background='#FFFFFF'; this.style.border='1px dashed #000000'" onMouseOut="this.style.background='#CCCCFF'; this.style.border='1px solid #CCCCFF'"<?}?>>
Home
</div>
<!--Insert other buttons here-->
}