Solved

More hidden types and images

Posted on 1997-05-23
2
185 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python Encoding Problem \u2013 4 116
Windows Batch File - Combing output in a single line 3 66
home folder path for users 4 73
copy-item script help 15 78
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
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…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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…

810 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