Solved

More hidden types and images

Posted on 1997-05-23
2
196 Views
Last Modified: 2013-12-25
(See question titled "hidden types and images" for more background--its a previously answered question)

This is particularly for for "icd".  I tried what you suggested and ended up with this:

print "<IMG SRC=\"/gifs/counties.gif\"BORDER=0      USEMAP=\"#Counties\">";
print "<MAP NAME=\"Counties\">";  

# Kittson
print "<AREA SHAPE=POLY COORDS=\"2,28 9,56 5,64 43,64 44,30 2,28 2,28\" ";
print " HREF=http://www.mnplan.state.mn.us/cgi-bin/publaw.pl?county=35";
print "&topic=$area&beenhere=$bhere&go=$goahead&agghere=$agg";

(And 86 more that look like this)

print "</MAP>";

This gives me a map but doesn't allow me to click on a specific area in order to pick a county.
A sample is at http://www.mnplan.state.mn.us/publaw.html
  (from this page select 'county' from the menu)

What is wrong with this example?  How do I make it link?
0
Comment
Question by:webslider
2 Comments
 
LVL 5

Accepted Solution

by:
icd earned 50 total points
ID: 1828087
Your HTML is very difficult to debug, it has very few new-lines in it, but from what I can make out you have a number of problems with it.

I suggest that your HREFs should have quotes around them.

You do not have a closing '>' for your AREA tags.

I am not sure that your 'default' shape has the correct URL.

If you an fix those first (and put a few appropriate new lines in) it should be easier to see where you are.
0
 

Author Comment

by:webslider
ID: 1828088
Thanks for your help.  Actually, the ">" was in my code but didn't show up on my question.  The problem was the ""'s for the http!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question