[w3m-dev-en 00298] Re: usemap is ignored inside hyperlinks

From: Hironori Sakamoto (h-saka@lsi.nec.co.jp)
Date: Wed Nov 29 2000 - 23:54:14 CST

  • Next message: Hironori Sakamoto: "[w3m-dev-en 00300] Re: usemap is ignored inside hyperlinks"

    Hello,

    >> From: "Adam M. Costello" <amc@cs.berkeley.edu>
    >> My online bank uses an image map that is both client-side and
    >> server-side, like so:
    >>
    >> In w3m, however, the anchor takes precedence. Note that the presence or
    >> absence of the ismap attribute makes no difference; as long as the image
    >> is inside a hyperlink, w3m will ignore the usemap attribute. This is
    >> unfortunate, since w3m has no way to let the user choose the coordinates
    >> to be passed to the server. It would be much more helpful to use the
    >> usemap attribute.

    I guess a simple sulotion.
     * Add a line "FOLLOW FORM followForm" after the line
       "EXTERN_LINK linkbrz" to funcname.tab.
     * make
     * Add "keymap ESC-f FORM" to your keymap file (~/.w3m/keymap)
       (This is an example. Of course, you can use any key.)
       
    >> I suggest that when GOTO_LINK is invoked on an image with a usemap
    >> attribute, the default action should be to use the map, even when the
    >> image is inside a hyperlink. It might also be nice to allow the user to
    >> follow the hyperlink, perhaps via the pull-down menu, but I think that's
    >> less important.

    In developer's version, a map can be shown with popup menu.
    You can get the patch:
       http://www4.ocn.ne.jp/~okabek/w3m-0.1.11-pre-kokb20.patch.gz
    and
       http://www4.ocn.ne.jp/~okabek/w3m-0.1.11-pre-kokb20_21.patch
    (These patches were gathered by Okabe-san in w3m-dev ML and w3m-dev-en ML.)
    And, don't forget editing config.h before make.
       #undef MENU_MAP
    -> #define MENU_MAP

    -----------------------------------
    Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
     http://www2u.biglobe.ne.jp/~hsaka/



    This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 00:28:52 CST