Solved

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

Posted on 2003-10-24
5
156 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Html date format 9 29
Session on Html 8 54
Pass a js value to an html form 5 42
Error Handler 8 38
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

739 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