473,785 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to define coords in an image for an area shape?

21 New Member
how to define coords in an image for an area shape

i m using

<img src="left.jpg" width="350" height="29" alt="Planets" usemap ="#planetmap " />

<map id ="planetmap"
name="planetmap ">
<area shape ="rect" coords ="0,0,199,29 " href ="sun.htm" alt="Sun">
<area shape ="circle" coords ="200,0,350, 29" href ="mercur.htm " alt="Mercury">
</map>

but if i wan to change coords how can i?

anybody can help me?

Thanx
Jul 12 '07 #1
3 2823
drhowarddrfine
7,435 Recognized Expert Expert
It can only be done with a programming language.
Jul 12 '07 #2
nomad
664 Recognized Expert Contributor
how to define coords in an image for an area shape

i m using

<img src="left.jpg" width="350" height="29" alt="Planets" usemap ="#planetmap " />

<map id ="planetmap"
name="planetmap ">
<area shape ="rect" coords ="0,0,199,29 " href ="sun.htm" alt="Sun">
<area shape ="circle" coords ="200,0,350, 29" href ="mercur.htm " alt="Mercury">
</map>

but if i wan to change coords how can i?

anybody can help me?

Thanx
What application are you using to create your web pages

nomad
Jul 12 '07 #3
wajiha
7 New Member
u just right ismap in the tag after attributes so the coords will appear on the explorer footer ok?????


What application are you using to create your web pages

nomad
Jul 14 '07 #4

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

Similar topics

1
2925
by: Vangelis Natsios | last post by:
I want to create a page with a scrolling image that will cause different messages to appear on another part of the page (say, another <div>) as the image will scroll. Imagine something like this: Image DIV Text DIV (Visible Area) +-----------+ Image +---------+ +-----------|------------------------+ | | | o | ...
2
10982
by: Stimp | last post by:
I remember doing something like this before, but it's been a while since I've touched javascript... I have a standard <img> and when a user clicks the image I want to output the IMAGE x y coordinates of the mouse click (i.e. not the page x y coords). I know that appending 'ismap' to the image tag will give me the image coordinates, but I can't use that since the img already has a 'usemap' attribute.
4
4644
by: Jim Land | last post by:
I've got an image and an image map, and they work fine together. See it here: http://www.jim-land.com/testing/MapPage01.htm But the image map has way too many points (vertices) in its 87 polygons. The html file is over 100k. That's too big to fit into our content- managment system, not to mention that it takes too long to load--about 30 seconds--over a 58k dialup connection. The problem is that the polygons are far too accurate.......
1
3355
by: M West | last post by:
continuation of my previous post, thanks to all those that contributed with answers I am creating a control that will take an image and make parts of it transparent, this is done by creating and then applying a region to the control. The control inherits from picturebox and works fine when loading the image into the control, the problem that I am having now is, once the control is loaded and the image is displayed, if the user resizes...
40
2017
by: Geoff Jones | last post by:
Hi Can anybody help me with the following? It is driving me crazy!!! I'm trying to produce a non-rectangular form as follows: (1) Produce a bitmap e.g. gif, using paint shop pro 5. (2) The Background color of the bitmap is set to white. (3) Draw a design on the bitmap in a color other than white. (4) Create a windows application.
0
1564
by: kojikabuto | last post by:
Hello I'd like to insert an image in a RTF document using a programming language (C#), this image must be aligned to the right and the text wrap around the picture. This is the code I found (from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec_3.asp) to insert an image in a RTF document, where in the "shape properties" I tell how the picture is aligned (Text Wrap Around Shape and Wrap Both sides...
3
2093
by: tommydog | last post by:
i am trying to generate an image map from the mouse coords of a click. i can pass the X Y through ok as $_POST $_POST how should the string be put into the AREA tag ? i am keeping the diameter as 10 this is what i am trying: echo "SHAPE=CIRCLE COORDS="'.$_POST.',143,10">";
0
976
by: Carz | last post by:
I have an image dynamically created. An image button is then created using this image. The problem is that it shows up perfectly on my machine, but on others it doesn't. The image is created by making the entire image transparent then drawing an shape (eg a circle) using a graphics object. It It is then saved with extension .png to hold on to the transparency. An image button is then created and linked to this image. The image button...
6
1952
tpgames
by: tpgames | last post by:
I'm trying to get a maze to default to always giving me the image as the marker and never give me the color as the marker. The code requires you to check a box to get the image marker to be used. So, I thought if I put played around with the checked box function, I'd get what I want, but I don't. I tried changing this document.getElementById('markerImage').disabled = true; to this document.getElementById('markerImage').disabled =...
0
9481
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,...
0
10336
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10155
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
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
9953
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...
0
6741
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
5383
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
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.