Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    help question Blank Box Mod -- Image Hotspot Links Don't Work...

    Hi eveyone:

    I didn't have any problems creating hotspot links in the header image, but when I tried to set them up for an image placed in a blank box (I downloaded the blank box mod) -- it doesn't work. The image in question is in the left column (the one with 4 squares). Any idea what I'm doing wrong? I can't find anything wrong with my code. Thank you!

    Here is the link to my site: http://www.mishutkadesign.com//index...page=page&id=2

    Code:
    <?php
    /**
    * blank sidebox - allows a blank sidebox to be added to your site
    */
    
    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
    // Replace the text and HTML tags between the apostophes.
    // Use as many or as few lines using this model as you need for your custom content.
    
    $content .= '<p></p>';
    $content .= '<img src="includes/templates/MDS/images/sidebox-nav.gif" alt="" width="200" height="200" border="0" usemap="#Map" /><map name="Map" id="Map">
    <area shape="rect" coords="0,-2,96,96" href="http://www.mishutkadesign.com//index.php?main_page=page&amp;id=19" />
    <area shape="rect" coords="106,1,201,96" href="http://www.mishutkadesign.com//index.php?main_page=page&amp;id=20" />
    <area shape="rect" coords="0,105,96,199" href="http://www.mishutkadesign.com//index.php?main_page=page&amp;id=21" />
    <area shape="rect" coords="104,104,201,199" href="http://www.mishutkadesign.com//index.php?main_page=page&amp;id=22" />
    </map>';
    
    $content .= '</div>';
    ?>

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Blank Box Mod -- Image Hotspot Links Don't Work...

    I think that using the same name & ID might be throwing this off - you are using this for both
    Code:
    usemap="#Map" /><map name="Map" id="Map">
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: Blank Box Mod -- Image Hotspot Links Don't Work...

    Thanks, kobra, for pointing me in the right direction! Apparently, all I needed to do is to rename the map (as Map2) and change the name and id:

    Code:
    usemap="#Map2" /><map name="Map2" id="Map2">
    Now it works!

 

 

Similar Threads

  1. Download Links Don't Work...
    By glorykid in forum General Questions
    Replies: 3
    Last Post: 26 Apr 2011, 07:30 AM
  2. links don't work
    By lieven23 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Nov 2008, 06:28 PM
  3. After adding a product, central image links don't work??
    By fr3spirit in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Dec 2007, 01:07 AM
  4. links don't work in firefox
    By surfstu in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jun 2006, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg