|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
How to add HTML links to only certain parts of an image
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||
|
PC Gamer
![]() |
How to add HTML links to only certain parts of an image
__________________and not the whole image
|
|||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Hi, i'm Barry Scott!
![]() |
__________________
Winamp FLAC > Xonar D2 > Optical Zero DAC > Little Dot MKIII > Sony MDR XB700 ![]() British Overclockers Club ![]()
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||
|
PC Gamer
![]() |
how does one obtain the coords=
__________________
|
|||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
Hi, i'm Barry Scott!
![]() |
One way is to open the image in MS Paint. Scrolling with your mouse reads out co-ordinates at the bottom in pixels.
__________________
Winamp FLAC > Xonar D2 > Optical Zero DAC > Little Dot MKIII > Sony MDR XB700 ![]() British Overclockers Club ![]()
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||||
|
PC Gamer
![]() |
ah ok
__________________but why are there 3 coords if the image is 2D i guess one is starting point to hight and starting point to width
|
|||||||||
|
|
|
|
|
#6 (permalink) | |||||||||||||
|
Hi, i'm Barry Scott!
![]() |
Uh, shouldn't be.
Mine says: 500,360px This is with Windows 7 paint. There will be easier ways im sure though. Google around.
__________________
Winamp FLAC > Xonar D2 > Optical Zero DAC > Little Dot MKIII > Sony MDR XB700 ![]() British Overclockers Club ![]()
|
|||||||||||||
|
|
|
|
#7 (permalink) | |||||||||
|
PC Gamer
![]() |
eg
__________________<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm"> <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm"> see how theres 3?
|
|||||||||
|
|
|
|
|
#8 (permalink) | |||||||||||||
|
Hi, i'm Barry Scott!
![]() |
Try the actual article rather than the demonstration. Should probably have linked you to that first
![]() http://www.w3schools.com/TAGS/tag_area.asp
__________________
Winamp FLAC > Xonar D2 > Optical Zero DAC > Little Dot MKIII > Sony MDR XB700 ![]() British Overclockers Club ![]()
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||
|
PC Gamer
![]() |
lol thanx i got it with the main article now
__________________x1,y1,x2,y2 If the shape attribute is set to "rect", it specifies the coordinates of the top-left corner and the bottom-right corner of the rectangle x,y,radius If the shape attribute is set to "circ", it specifies the coordinates of the circle center and the radius
|
|||||||||
|
|
|
|
|
#10 (permalink) | |||||||||||||
|
Hi, i'm Barry Scott!
![]() |
Cool. W3 schools is a great site for learning. I use it all the time
__________________
Winamp FLAC > Xonar D2 > Optical Zero DAC > Little Dot MKIII > Sony MDR XB700 ![]() British Overclockers Club ![]()
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|