Hello everyone,
Ive been having trouble trying to incorporate the code for an image Map into a PHP global.inc.php document of my community.
The image map code is:
<img name="headerbanner0" src="headerbanner.gif" width="950" height="125" border="0" usemap="#headerbanner" alt="" />
<map name="headerbanner">
<area shape="rect" coords="224,93,385,125" alt="newsroom">
<area shape="rect" coords="585,90,793,2081874365" href="http://cyberpetcity.com/view_page.php?page=1363&game=1" alt="cybertown">
<area shape="rect" coords="411,90,564,125" href="http://cyberpetcity.com/free_food.php?game=1" alt="soup">
<area shape="rect" coords="806,94,943,125" href="http://cyberpetcity.com/view_page.php?page=1362&game=1" alt="contact">
</map>
-------------------------And the PHP code im trying to add it to is:
if ($getGame[use_logo] == "1")
{
$gameName = "<img src=$base_url/images/user_images/opg_$game/logo.gif>";
}
Im not sure if this can be done but would be a huge help if I am able to provide a decent navigation menu. I tried to insert a Xara menu which would have been absolutely perfect but was really hard to do and I was unsuccessfull.
Any help would be much apreciated
Regards
Justin