Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinks

Status
Not open for further replies.
Absolutely. You need to define image maps in your html. One place for info is html goodies or just google 'html image map'.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
You guys are too fast for me.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Thanks for the quick input guys I really appreciate it. Is do you know of a site that will help create the code for me? I am on a computer where installing programs is prohibited.
 
You don't need to install any programs, if you can open up notepad and paint in windows, or any text editor and any image editor to get the correct coordinates for the different parts,
you can create your imagemap.

All you need to do is define the areas that will be clickable.
Code:
[green]<map name="map1">[/green]
[red]<area shape="circle" coords="183,176,22" href="link101.html"[/red]
<area shape="rect" coords="48,320,121,345" href="link102.html">
<area shape="rect" coords="243,320,306,345" href="link103.html">
<area shape="default" nohref></map>
[blue]<img src="YourImage.gif" border="0" usemap="#map1" alt="Put Your
Text Here." width="354" height="450">[/blue]

[green]This is the start tag for the map. it needs to have a name[/green]

[red]This is the definition of an area in the map, that can be clickable[/red]

[blue]This is the actuall image, with a usemap property that points to the map created previously.[/blue]



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Here is the code I got, but can't get it to work.
Code:
<map NAME="ParoMap">
<area SHAPE="RECT" COORDS="247,37 380,53" HREF="[URL unfurl="true"]http://www.wainwright.parocys.org"[/URL] ALT="Fort Wainwright CYS Home Page"> 
<area SHAPE="RECT" COORDS="382,55 485,68" HREF="[URL unfurl="true"]http://www.greely.parocys.org"[/URL] ALT="Fort Greely CYS Home Page">
<area SHAPE="RECT" COORDS="374,102 505,119" HREF="[URL unfurl="true"]http://www.richardson.parocys.org"[/URL] ALT="Fort Richardson CYS Home Page">
<area SHAPE="RECT" COORDS="24,232 129,263" HREF="[URL unfurl="true"]http://www.zama.parocys.org"[/URL] ALT="Camp Zama/Sagamihara CYS Home Page">
<area SHAPE="RECT" COORDS="527,248 762,279" HREF="[URL unfurl="true"]http://www.hawaii.parocys.org"[/URL] ALT="Hawaii CYS Home Page">
<area SHAPE="RECT" COORDS="563,344 716,365" HREF="[URL unfurl="true"]http://www.kwajalein.parocys.org"[/URL] ALT="Kwajalein CYS Home Page">
<img src="ParoCYSHome.jpg" border=0 width=768 height=565 usemap="#ParoMap">
</img>
</map>
 
You are missng quite a few commas in between the coordinates.

Other than that, it works for me, I can click on the different areas.





----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I got it to work. Thansks everyone for all the quick repsonses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top