Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: image map header...

    Quote Originally Posted by Kim View Post
    Are you wanting to replace the whole header with your map?
    Hello Kim! thanks for replying!
    YES!
    here there is my site : http://mademoiselleflo.com/shop

  2. #2
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    help question Re: image map header...

    I'm sorry to write again! But I really don't know how to solve my problem!!
    I'm worked again on it this morning but I just can't find how to make it work.

    I try to give you more info..maybe someone can help

    Here there is my image map code:

    Code:
    <area shape="rect" coords="457,75,499,106" href="http://mademoiselleflo.com/shop" alt="shop">
      <area shape="rect" coords="500,76,543,106" href="http://mademoiselleflo.com/blog" alt="blog">
      <area shape="rect" coords="542,76,583,106" href="http://mademoiselleflo.com/info.html">
      <area shape="rect" coords="583,76,639,106" href="http://mademoiselleflo.com/contact.html" alt="Contact">
      <area shape="rect" coords="638,76,679,106" href="http://mademoiselleflo.com/press.html" alt="press">
      <area shape="rect" coords="679,76,715,107" href="http://mademoiselleflo.com/fun.html" alt="fun">
      <area shape="rect" coords="715,75,761,106" href="http://mademoiselleflo.com/links.html" alt="links">
      <area shape="circle" coords="56,44,38" href="http://mademoiselleflo.com" alt="index">
    What I done is to change on the includes/templates/custom/common/tpl_header.php

    this line:

    Code:
    <?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
    with this:

    Code:
    <?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT, 'name="logo" usemap="#logo"'); ?>
    <map name="logo"><?php echo HEADER_LOGO_IMAGEMAP; ?></map>
    and then added this code to includes/languages/english/custom/header.php

    Code:
    define('HEADER_LOGO_IMAGEMAP', '<area shape="rect" coords="406,75,457,105" 
    
    href="http://mademoiselleflo.com/about.html" alt="about">
      <area shape="rect" coords="457,75,499,106" href="http://mademoiselleflo.com/shop" alt="shop">
      <area shape="rect" coords="500,76,543,106" href="http://mademoiselleflo.com/blog" alt="blog">
      <area shape="rect" coords="542,76,583,106" href="http://mademoiselleflo.com/info.html">
      <area shape="rect" coords="583,76,639,106" href="http://mademoiselleflo.com/contact.html" alt="Contact">
      <area shape="rect" coords="638,76,679,106" href="http://mademoiselleflo.com/press.html" alt="press">
      <area shape="rect" coords="679,76,715,107" href="http://mademoiselleflo.com/fun.html" alt="fun">
      <area shape="rect" coords="715,75,761,106" href="http://mademoiselleflo.com/links.html" alt="links">
      <area shape="circle" coords="56,44,38" href="http://mademoiselleflo.com" alt="index">');

    I made those changes following something that someone else did in the past year.

    Does someone know why it isn't working for me?!

    here there is my site: http://mademoiselleflo.com/shop

    Thank you again! :)
    Last edited by florence; 4 Dec 2006 at 01:12 PM.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: image map header...

    hi-

    Please paste your complete generated map code before any changes to "Zen" it.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Idea or Suggestion Re: image map header...

    Quote Originally Posted by Kim View Post
    hi-

    Please paste your complete generated map code before any changes to "Zen" it.
    hello!

    here there is my map code :

    Code:
    <img src="header.png" usemap="#Map">
    <map name="Map">
      <area shape="rect" coords="457,75,499,106" href="http://mademoiselleflo.com/shop" alt="shop">
      <area shape="rect" coords="500,76,543,106" href="http://mademoiselleflo.com/blog" alt="blog">
      <area shape="rect" coords="542,76,583,106" href="http://mademoiselleflo.com/info.html">
      <area shape="rect" coords="583,76,639,106" href="http://mademoiselleflo.com/contact.html" alt="Contact">
      <area shape="rect" coords="638,76,679,106" href="http://mademoiselleflo.com/press.html" alt="press">
      <area shape="rect" coords="679,76,715,107" href="http://mademoiselleflo.com/fun.html" alt="fun">
      <area shape="rect" coords="715,75,761,106" href="http://mademoiselleflo.com/links.html" alt="links">
      <area shape="circle" coords="56,44,38" href="http://mademoiselleflo.com" alt="index"></map>
    Last edited by florence; 4 Dec 2006 at 08:21 PM.

  5. #5
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: image map header...

    please...can someone help me?! any suggestion?!
    I really don't know what I'm making wrong!!
    thank you!

  6. #6

    Default Re: image map header...

    Did this ever get solved? I'm also trying to get my image map working. I just dont know where to throw the code into.

  7. #7
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: image map header...

    Yup... I'm having the same problem..

    If anyone knows... pleeeeeeeeease share!


  8. #8
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default image map border in logo

    A need help!
    Put on a site Image Mapping all works but border appeared round a logotype! how it to remove?



  9. #9
    Join Date
    Dec 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: image map header...

    Hi, yes, I'd also like to know the answer to this.I used Imagemap to generate the CSS code for my header, now I just need to know where to put the code and if I need to make any changes to any other files, thank you.

 

 

Similar Threads

  1. Image Map Header: Is it possible?
    By Dorothy pcnc in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Oct 2010, 05:25 PM
  2. Image Map to Logo/Header
    By john4803 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Aug 2010, 03:49 PM
  3. Header Image Map
    By joe051864 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Jul 2009, 10:55 AM
  4. Image map in header
    By Beth-katherine in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Jun 2008, 01:21 AM
  5. Image map in header
    By Extence in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Feb 2008, 09:13 PM

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