473,786 Members | 2,574 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem facing in image mapping

4 New Member
Hi,

I want to have a image which has 4 people in it and i wnat that it should have image mapping. and when a particulat person is clicked upon in that image it should open a corresponding person HTML file in the new window .

for that i used a software to create a image cordinates mapped to the corresponding person whcih i had saved in the same local folder .

But now eben when we click any person nothing is happening in response

Here is teh code
[html]
<html>
<head>
<title>HOME</title>
</head>
<body >
<center ><H3 align="top">HOM E</H3></center>

<!--<a href="Home.html "onClick="windo w.open('Home.tx t','mywindow',' width=140,heigh t=150')">-->
<a href="Home.html "
<img src="familymemb ers.gif" width="200" height="300"use map="#map1" >
</a>

<MAP NAME="map1">
<AREA SHAPE="POLY" COORDS="0,192,6 2,68" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="64,71,1 18,218" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="30,220, 121,223" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="1,196,2 8,224" HREF="C:\Docume nts and Settings\a\Desk top\My family\Jane.htm " TITLE="Jane">
<AREA SHAPE="POLY" COORDS="67,71,8 7,27" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="86,23,1 09,35" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="110,37, 149,18" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="149,21, 137,99" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="137,99, 109,191" HREF="C:\Docume nts and Settings\a\Desk top\My family\John.htm " TITLE="John">
<AREA SHAPE="POLY" COORDS="143,91, 166,77" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="167,79, 188,93" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="189,95, 183,121" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="184,123 ,245,227" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="141,92, 111,183" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="110,188 ,121,221" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="123,222 ,244,227" HREF="C:\Docume nts and Settings\a\Desk top\My family\Rita.htm " TITLE="Rita">
<AREA SHAPE="POLY" COORDS="194,94, 190,55" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="191,53, 221,42" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="222,41, 233,80" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="234,79, 286,94" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="285,95, 247,235" HREF="C:\Docume nts and Settings\a\Desk top\My family\Robin.ht m" TITLE="Robin">
</MAP>



</body>
</html>
[/html]
In this I want this image mapping for the familymembers.g if image only and has linked their files as Jane,John,Rita and Robin which reside in same folder

Please help
Sep 20 '07 #1
3 1960
Emmi
12 New Member
Well first thing I see without doing anything else is you have the link commented out (<!-- -->)You also haven't closed the other <a href> with a closing > and a </a>

<!--<a href="Home.html "onClick="windo w.open('Home.tx t','mywindow',' width=140,heigh t=150')">-->
<a href="Home.html "
Sep 20 '07 #2
Death Slaught
1,137 Top Contributor
Hi,

I want to have a image which has 4 people in it and i wnat that it should have image mapping. and when a particulat person is clicked upon in that image it should open a corresponding person HTML file in the new window .

for that i used a software to create a image cordinates mapped to the corresponding person whcih i had saved in the same local folder .

But now eben when we click any person nothing is happening in response

Here is teh code

[HTML]<html>
<head>
<title>HOME</title>
</head>
<body >
<center ><H3 align="top">HOM E</H3></center>

<!--<a href="Home.html "onClick="windo w.open('Home.tx t','mywindow',' width=140,heigh t=150')">-->
<a href="Home.html "
<img src="familymemb ers.gif" width="200" height="300"use map="#map1" >
</a>

<MAP NAME="map1">
<AREA SHAPE="POLY" COORDS="0,192,6 2,68" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="64,71,1 18,218" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="30,220, 121,223" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="1,196,2 8,224" HREF="C:\Docume nts and Settings\a\Desk top\My family\Jane.htm " TITLE="Jane">
<AREA SHAPE="POLY" COORDS="67,71,8 7,27" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="86,23,1 09,35" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="110,37, 149,18" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="149,21, 137,99" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="137,99, 109,191" HREF="C:\Docume nts and Settings\a\Desk top\My family\John.htm " TITLE="John">
<AREA SHAPE="POLY" COORDS="143,91, 166,77" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="167,79, 188,93" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="189,95, 183,121" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="184,123 ,245,227" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="141,92, 111,183" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="110,188 ,121,221" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="123,222 ,244,227" HREF="C:\Docume nts and Settings\a\Desk top\My family\Rita.htm " TITLE="Rita">
<AREA SHAPE="POLY" COORDS="194,94, 190,55" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="191,53, 221,42" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="222,41, 233,80" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="234,79, 286,94" HREF="" TITLE="">
<AREA SHAPE="POLY" COORDS="285,95, 247,235" HREF="C:\Docume nts and Settings\a\Desk top\My family\Robin.ht m" TITLE="Robin">
</MAP>



</body>
</html>[/HTML]
In this I want this image mapping for the familymembers.g if image only and has linked their files as Jane,John,Rita and Robin which reside in same folder

Please help
Sup anthriksh2000, Please use proper code tags ( see posting guidlines ).

As Emmi pointed out you have your link as a comment, and you didn't close that links tag ( [HTML]"</a>" [/HTML] ), and I I noticed that you had on "onclick" attibute in it, the problem there is you didn't give it a picture or text to click.

And on your link below that ( Emmi pointed this out to ) you didn't close your start tag.

So long story short you need to change it to this:

[HTML]<a href="Home.html "onClick="windo w.open('Home.tx t','mywindow',' width=140,heigh t=150')">
Text you wan't to appear.
</a>
<a href="Home.html ">
<img src="familymemb ers.gif" width="200" height="300"use map="#map1" >
</a>[/HTML]

Hope it helps, Death
Sep 20 '07 #3
Death Slaught
1,137 Top Contributor
Well first thing I see without doing anything else is you have the link commented out (<!-- -->)You also haven't closed the other <a href> with a closing > and a </a>

<!--<a href="Home.html "onClick="windo w.open('Home.tx t','mywindow',' width=140,heigh t=150')">-->
<a href="Home.html "
Sup Emmi, Please use proper code tags when posting ( see posting guidelines ).

- Death
Sep 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
4447
by: Raj | last post by:
Hello Members, I wrote a program to convert a greyscale bitmap image in to monochrome bitmap image, a simple thresholding. Input:Greyscale image; Expected Output:Monochrome image Pseudocode: row:0->height column:0->width
7
5129
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css ..navbar-background { background-image: url(images/menubar.gif); } the image is not appearing on the page. It seems that IE is picking
0
3169
by: Chris Ericoli | last post by:
Hi, I am working with an 'in session' ado dataset with an asp.net application. My dataset is comprised of two tables, one of which maintains a few calculated datacolumns. For some reason these datacolumns do not trigger their expression when other columns from which the expressions are derived are updated. Below is a basic example of what I am doing. User enters values into an asp.net form and clicks a button. Retrieve dataset from...
1
2740
by: rengaraj | last post by:
JBoss version:4.0.4 Hibernate version:3.2 Database:Oracle10g Hi. I am facing an entity mapping problem. I have an Oracle stored function which takes as a parameter an Oracle array and returns a refcursor. And I want to map the returning result to an entity class. I have created the entity class as follows: @Entity @SqlResultSetMapping(name = "flightBaggageSummaryMapping", entities = @EntityResult(entityClass =...
1
14060
by: shrik | last post by:
hi everybody. I have following problem. There are two pages. index.jsp and main.jsp in my application Index.jsp contains logging interface in . It submits password and userid to loginform bean. following are entries in struts-config.xml file <action input="index.jsp" name="loginform" path="/login" scope="session" type="com.myapp.struts.loginaction"> <forward name="success" path="/main.jsp"/>
1
2537
by: sbettadpur | last post by:
hi, here i am facing some problem regarding the page refresh below i am sending my code please go through... in that i am including head.php, content.php, foot.php files into a single file called template.php in that i have one form, once i click the submit button page is refreshing( refreshing in the sense slightly flickering) that should not be happen for me. all these problems i am facing in IE(6.0) and above browser, but int...
1
3394
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. The problem is when it creates transparent PNG format image then and it pixel ate the image. e.g. If i am using a gradient in background then it vary in color range. Now when i used that php script it generates image successfully but it pixel ate...
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.