473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Clickable image

Hi,

I've put an image on my website.
Now I want the user to be able to click on certain parts of the image.
How can I do that ?

Thx
Nov 18 '05 #1
3 1741
You have to use an image map .... it takes a but of playing around, but
you'll get it eventually

E.G.

<!-- Image mapping co-ordinates go here -->
<MAP NAME="imageMapName">
<AREA SHAPE="RECT" COORDS="0, 0, 160, 60"
HREF="http://www.site.com/page1.html">
<AREA SHAPE="RECT" COORDS="160, 0, 310, 60"
HREF="http://www.site.com/page2.html">
<AREA SHAPE="RECT" COORDS="310, 0, 410, 60"
HREF="http://www.site.com/page3.html">
<AREA SHAPE="RECT" COORDS="0, 60, 160, 110"
HREF="http://www.site.com/page4.html">
<AREA SHAPE="RECT" COORDS="160, 60, 310, 110"
HREF="http://www.site.com/page5.html">
<AREA SHAPE="RECT" COORDS="310, 60, 410, 110"
HREF="http://www.site.com/page6.html">
</MAP>

<!--image goes here .... notes usemap attribute -->
<img src="/images/image.gif" width="410" height="110" border="0"
align="middle" usemap="#imageMapName">

--------------------------------------------------------------------------------------------------------------------

"Bart Schelkens" <BS********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I've put an image on my website.
Now I want the user to be able to click on certain parts of the image.
How can I do that ?

Thx


Nov 18 '05 #2
On Thu, 9 Sep 2004 13:20:24 +0200, Bart Schelkens wrote:
Hi,

I've put an image on my website.
Now I want the user to be able to click on certain parts of the image.
How can I do that ?

Thx


Take a look at this (or google: client side image map):
http://curry.edschool.virginia.edu/g...emap/CSIM.html
/Hugo
Nov 18 '05 #3
You can use Image Map. That will help.

Thanks,
Sanjeeb Sarangi
"Bart Schelkens" <BS********@hotmail.com> wrote in message
news:#b**************@TK2MSFTNGP14.phx.gbl...
Hi,

I've put an image on my website.
Now I want the user to be able to click on certain parts of the image.
How can I do that ?

Thx

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Tipper | last post by:
I am trying to create a clickable image for use within an MFC VC++ application. The requirement is for the control to generate messages on click or double click etc for different areas of the...
53
by: Kerberos | last post by:
I followed Dan Cederholm's image replacement tutorial, to replace a header tag by a logo. The h1 is clickable if no CSS is applied but it I replace it by the logo, the area isn't clickable anymore...
5
by: Matt Bostock | last post by:
Hi, Please see: http://www.drfunkenstein.net/catalogue/categories/fancydress/81/go/2/ ...and try clicking on the '< previous' link underneath the costume thumbnails. The link is only...
9
by: Lando Chez | last post by:
Hi I need a map of a country on which a region( part of the map) can be clicked ( or on mouseover) causing, on another part of the same page, the appearance of information regarding the region....
12
by: Ted Weatherly | last post by:
Is it possible to create a clickable time zone map on a web page? Is it as simple as finding an image of world time zones and declaring a bunch image map coordinates? Has someone already done...
9
by: Paul W | last post by:
I'm using a Table webcontrol to display a 'grid' to the user. Various cells should be 'clickable' by the user (to run javascript). How can I make this happen? (currently I use the background cell...
1
by: =?ISO-8859-1?Q?Fran=E7ois_de_Dardel?= | last post by:
The URL is: http://dardel.info/tintin/random.html What I want to achieve: When you click a thumbnail, a window opens with a larger copy of the pict _as the background_. I want the new window...
3
by: crazychrisy54 | last post by:
Hi there I just wondered if there is any way using GD to insert a clickable button or some clickable text into a image? It is possible to create images for buttons but what if you want a...
3
by: breakupemail | last post by:
Hello, on my website at http://www.breakupemail.com/ there is a horizontal navigation bar with 6 hyperlinks. Recently, I added a second navigation row below the first, with 2 links. Once this...
2
by: GloStix | last post by:
For some reason, FF likes to put a black underline on all my buttons. No matter what I do, it has the line I've tried displaying as block and cursor, anything.. Also I've been trying to get it so...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.