Solved

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

Posted on 2003-10-24
5
153 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Alignment is not working correctly. 8 38
Html5 Index on a table 7 26
Place text over image using CSS 6 43
Select case on click 3 14
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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)

785 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