lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV about that ISMAP thing


From: Klaus Weide
Subject: LYNX-DEV about that ISMAP thing
Date: Thu, 10 Apr 1997 14:13:25 -0500 (CDT)

Fote,

  you asked whether the "[ISMAP]"-suppression should not be an option
separate from IMAGE_TOGGLE (and then you went ahead and implemented it).
Agreed, it is a logically separate thing.  I didn't think this was worth
introducing another configuration option and command line switch, but
now that you did it... I'll grab your code :)

  I don't like the get-rid-of-all-"dangling"-numbers thing, because I 
sometimes found them useful, so here is my response:

 /* from GridText.c */
            /*
             *  If links are numbered and a->show_anchor is still NO,
             *  get rid of the numbered bracket and adjust the
             *  anchor count.  This code could fail if the anchor
             *  content caused a wrap, but that's highly unlikely,
             *  so for now, we won't check for that. - FM
             *
             * Well, let's do this only if we can be resonably sure that
             * this is the result of an intentional non-generation of
             * anchor text via NO_ISMAP_IF_USEMAP. In other cases it can
             * actually be a feature that numbered links alert the viewer
             * to the presence of a link which is otherwise not selectable -
             * possibly caused by HTML errors. - kw
             */
            if (a->show_anchor == NO && keypad_mode == LINKS_ARE_NUMBERED &&
                LYNoISMAPifUSEMAP &&
                HTAnchor_isISMAPScript(
                    HTAnchor_followMainLink((HTAnchor *)a->anchor))) {
                j = (text->last_line->size - a->extent - 1);
        /* etc. */        

(HTAnchor_isISMAPScript() does just what its name suggests.)

By the way, it may be unlikely that the anchor start as at a wrapping point,
but that is just what happens on Scottes page <http://sol.slcc.edu/index2.html>.
I am looking at it with screen width 100, maybe that makes a difference.

  Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]