Hi All

Sorry about the question not relating to perl. But I found lot of active participants in this group who replied to my earlier question on CGI and hence though it can answered by many of the people in this forum. I have written a cgi script which calls another script to create an image. In the first script I am generating some clickable points on the image created by second script. When I run the first script, I see the image but it does not give any hyperlinks on it. When I verified the source code of html(output of the first script), it does show the points. Am I doing some thing wrong in the way I am implementing the map or is there anything wrong with the html code. I changed the order of img src and map vice versa but with no success. Thanks for your attention Nagesh

Update:

Thanks for all those who have responded. I found the solution I want, Thanks to Cody Pendant whose suggestion was able to fix the problem. I apoligies if I have asked a question out of scope of this forum but it was not a conscious act. But this forum is a great resource of knowledge.

Thanks once again

HTML Source code

<html><head>Results for transcription factors found in any tissue</hea +d><body> <map NAME="image"> <area SHAPE ="POLY" COORDS ="32.4602432179607,78,25.9602432179607,65,3 +8.9602432179607" HREF ="blank.html"> <area SHAPE ="POLY" COORDS ="32.4602432179607,78,25.9602432179607,91,3 +8.9602432179607" HREF ="blank.html"> <area SHAPE ="POLY" COORDS ="33.2972709155245,241,26.7972709155245,254 +,39.7972709155245" HREF ="blank.html"> </map> <img SRC="/cgi-bin/webpage/simpleImage.cgi?seq1=humPrPDpl&seq2=mouPrPD +pl&tissue=all" USEMAP="#image" BORDER="0"> </body></html>

Retitled by davido from 'Problem creating links on image'.


In reply to OT: Problem creating links on image by chakkaln

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.