Solved

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

Posted on 2003-10-24
5
154 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
ID: 9616297
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
ID: 9616309
hi , thanks for post , how would i make a transparent gif on the image ?
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9616359
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

830 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