Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    red flag Is it possible to create a Hotspot Link?

    If I create a new logo and add text/words on it in photoshop, I can create a link to external pages or ez pages using a hotspot over each word.
    How do I load this to the header area? ( I know how to replace the logo.gif it is getting rid of the old link associated with the default logo and making my new links work that is the issue.) It is named to replace the existing logo.gif. The logo with the links work when I place it on a html page for testing, now I need to load it to the site and replace the existing logo.gif.

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

    Default Re: Is it possible to create a Hotspot Link?

    You would create an image map and enter it in your copy of tpl_header.php

    Google for insight into how to write an image map
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Is it possible to create a Hotspot Link?

    I assume you understand that it's not the image that does the linking, but (as Kobra indicates) the underlying "map" which designates url's to mapped co-ordinates.

    Do you know how to create the html that drives the map?

    (And, once you've created it, where to put it?)

  4. #4
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Is it possible to create a Hotspot Link?

    Thanks for the input, no I am not familar with mapping an image I will do some research but please send any info you have time for.

    Thanks to all.

  5. #5
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Is it possible to create a Hotspot Link?

    OK I did some reading on this, I typically use Dreamweaver to do this in a html document would I do this and place the html code in the header area?

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

    Default Re: Is it possible to create a Hotspot Link?

    I don't use DW so I can not atteat that the code it generates will be correct but in general to answer your question - Yes
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Is it possible to create a Hotspot Link?

    Quote Originally Posted by dothanbydesign View Post
    and place the html code in the header area?
    Be VERY CAREFUL about what bits of clipped code you place in the header!

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

    Default Re: Is it possible to create a Hotspot Link?

    I successfully created hotspot links in the header, 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. Any idea what I'm doing wrong? Thank you!

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

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Is it possible to create a Hotspot Link?

    I assume that the New Items, Customize, etc. is the image in question?

    The way I did this for a new cart I'm building was to set up a list in the blank sidebox (in your case, 4) with the anchors in the list item, each with it's own id.

    Then I did the rest in the stylesheet, by using the image as the background in the sidebox and defining the image map areas by id (#) for size and placement.

    Google for CSS imagemap - lots of info out there.

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

    Default Re: Is it possible to create a Hotspot Link?

    stevesh, thanks for your reply!

    I should have been more specific: the image in question is in the left column (the one with 4 squares). I have the image map set up for 4 sections of the image, but the "hand" doesn't appear (hence the links don't work).

    The image is placed in the in a blank box (from the blank box mod); not sure if this is affecting the map's behaviour? Here is the code:

    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>';
    ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding a HotSpot to an Image in PHP?
    By limelites in forum General Questions
    Replies: 0
    Last Post: 5 Aug 2009, 11:58 AM
  2. How do I make a Link ( Hotspot ) in the header?
    By milobloom in forum General Questions
    Replies: 5
    Last Post: 17 Oct 2008, 12:29 PM
  3. Blank Box Mod -- Image Hotspot Links Don't Work...
    By mishutkadesign in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2008, 12:45 AM
  4. Is it possible to create multiple music genres?
    By Ingham QLD in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 11 Apr 2008, 07:03 PM
  5. ?Is It Possible To Create a NEW Side Box?
    By mehe in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Jul 2007, 09:36 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