We help IT Professionals succeed at work.

More hidden types and images

webslider
webslider asked
on
Medium Priority
238 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?
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
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!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.