Menu
I would like to set the variable for “room” when someone clicks on a link so that the area of the map is highlighted.
This is what i have.
[code=php]<p><a href=”http://map.com/19.php?<?=$setting?>$room=copiers”>Copiers</a></p>
<?php
//Copiers
if ($room==”copiers”)
{ echo ‘<div style=”width: 54px; height: 38px; position: absolute; left: 507px; top: 188px; background-color: #ffff00; opacity:0.2;filter:alpha(opacity=20)”></div>’; }
if ($room==”copiers”)
{ echo ‘<div style=”width: 49px; height: 48px; position: absolute; left: 158px; top: 208px; background-color: #ffff00; opacity:0.2;filter:alpha(opacity=20)”></div>’; }
?>