Menu

#40 Client-side map

closed
None
5
2012-10-21
2003-09-03
No

Please add support for client-side map:
<IMG src="x.jpg" usemap="#map1" border="0">
<MAP name="map1">
<AREA href="a.html" shape="rect" coords="0,0,20,20">
<AREA href="b.html" shape="circle" coords="30,10,10>
</MAP>

Something like HtmlImage.click(x,y) I guess (like in
HtmlInput).

Thanks.

Discussion

  • mmcer123

    mmcer123 - 2005-02-14

    Logged In: YES
    user_id=1177086

    Good idea!!!

     
  • Ahmed Ashour

    Ahmed Ashour - 2007-04-06

    Logged In: YES
    user_id=950730
    Originator: NO

    I am about to submit a patch for this, but an answer is needed for the following questions:

    1- What is the current lowest JDK version HtmlUnit should support?
    2- Circle radius can be percentage, how to know the actual width of HtmlImage in pixels (if again it is percentage of its paret, which is percentage of its parent, ... )?

     
  • Marc Guillemot

    Marc Guillemot - 2007-04-09

    Logged In: YES
    user_id=402164
    Originator: NO

    1- htmlunit should work with JRE 1.4 and upper

    2- just ignore this case in a first time (unless you need it)

     
  • Marc Guillemot

    Marc Guillemot - 2007-04-10

    Logged In: YES
    user_id=402164
    Originator: NO

    Now fixed in SVN thanks to patch from asashour.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.