Logo with Image Map

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vwturbo
    Member
    • Jul 2004
    • 37
    • 3.0.3

    Logo with Image Map

    I was wondering if it was possible, and if so how, to take a logo that is an image map and have it work as the main logo in my forums. The logo has 2 different clickable areas. Because it's an image map it also has code behind it so that it works properly depending on where the user clicks the image.

    Thanks
  • Nick
    Senior Member
    • Feb 2008
    • 3507
    • 3.8.x

    #2
    For this, you would have to edit the header template.

    Replace all of the code in red with your map/image code.
    Code:
    <!-- logo -->
    <a name="top"></a>
    
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="center">[COLOR="Red"]<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>[/COLOR]</td>
    	<if condition="$ad_location['ad_header_logo']"><td align="$stylevar[right]" id="header_right_cell">
    		$ad_location[ad_header_logo]
    	</td></if>
    </tr>
    </table>
    <!-- /logo -->
    Regards,
    Nick

    Comment

    • vwturbo
      Member
      • Jul 2004
      • 37
      • 3.0.3

      #3
      Thanks for the quick answer!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...