Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

More hidden types and images

Posted on 1997-05-23
2
Medium Priority
?
226 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 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

926 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