Solved

Outlook Stationary - Using HTML file , need to "MAP" Url to area on image

Posted on 2003-10-24
5
150 Views
Last Modified: 2010-04-09
Hi ,

anyone any ideas on this....

Have a HTML page with an image along the left hand side but want to be able to click our URL ( within the image)....

This is code without Mapper code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Final Stationery</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY style="MARGIN-LEFT: 145px; BACKGROUND-COLOR: #ffffff" bgColor=#ffffff
background="Final.jpg"
<DIV>&nbsp;</DIV></BODY></HTML>

( Im not a web dev , so please ignore and "incorrect" use of HTML)


Using an Image Mapper , i can "MAP" the URL to point at out web site:

This code does that :

<MAP NAME="map1">
      <AREA SHAPE="RECT" COORDS="337,429,688,305" HREF="www.experts-exchange.com" TITLE="">
</MAP>
<IMG SRC="final.jpg" USEMAP="#map1" BORDER="0">


But question is , how do i combine the code? Ive tried :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Final Stationery</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>

<BODY style="MARGIN-LEFT: 145px; BACKGROUND-COLOR: #ffffff" bgColor=#ffffff

<MAP NAME="map1">
      <AREA SHAPE="RECT" COORDS="337,429,688,305" HREF="www.experts-exchange.com" TITLE="">
</MAP>

background="Final.jpg" USEMAP="#map1"

<DIV>&nbsp;</DIV></BODY></HTML>


But this doesnt work....... any ideas?

thanks!

0
Comment
Question by:sgriffin
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
Comment Utility
Yes, you won't be able to use the image map against the background image.

Simply place a transparent gif image on top of the logo at the size you need it, and then use that as the image for the image map.
0
 
LVL 2

Author Comment

by:sgriffin
Comment Utility
hi , thanks for post , how would i make a transparent gif on the image ?
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
Here's a transparent gif image:

http://www.experts-exchange.com/images/spacer.gif

Select File > Save As from the browser and add it to your web
Insert the image on the page - depending on your editor - and place it on top of where the logo is in the background.
Which editor are you using?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now