in reply to Re: OT: Problem creating links on image
in thread OT: Problem creating links on image

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: OT: Problem creating links on image

Replies are listed 'Best First'.
Re^3: OT: Problem creating links on image
by Cody Pendant (Prior) on Aug 09, 2005 at 07:12 UTC
    And now that I take away the decimals, I see that you're trying to create a polygon with only five coordinates. You need at least six, because they're in pairs: x,y is one point, so a triangle would have a,b, c,d, e,f for instance. You've got a,b,c,d,e ...


    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print
      Thats Brilliant, It dint strike to my dumb head that I was not closing the polygon. Thanks a lot. Nagesh
Re^3: OT: Problem creating links on image
by Cody Pendant (Prior) on Aug 09, 2005 at 06:59 UTC
    One problem might be that your coordinates aren't integers. Your browser probably isn't going to know what point is 32.4602432179607 pixels from the left of your images. Round them off (with Perl!) and try it.


    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print
Re^3: OT: Problem creating links on image
by skx (Parson) on Aug 09, 2005 at 07:10 UTC

    One of the reasons why so many responses here are high quality and useful is that the site has very a specific notion of content which is "allowed".

    That means that users don't get annoyed by questions about HTML, PHP, or other computer things - that they may well be able to answer.

    Whilst it's not a great crime to post semi-related topics once or twice. If users did it all the time then the quality of visitors, contributors and the site in general may fall.

    (Or the site might still be great; just more unfocussed. Who can say ..?)

    Steve
    ---
      I apologise once again to the lot, that this question was not directly related to Perl. I would take the suggestions from skx and monarch and try to restrict questions more specifically to perl.