lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Re: ISMAP/USEMAP alt text


From: Klaus Weide
Subject: LYNX-DEV Re: ISMAP/USEMAP alt text
Date: Sun, 6 Apr 1997 15:14:27 -0600 (MDT)

The appended patch gives for

  <A HREF="http://www.slcc.edu/cgi-bin/imagemap/maps/hp_menu.map";>
  <IMG SRC="http://www.slcc.edu/maps/hp_menu.gif"; HEIGHT=252
  WIDTH=187 ALT="[Menu]" BORDER="0" ALIGN="middle" USEMAP="#hp_menu"
  ISMAP></A>

the following display:

       \    Numbers act as arrows     Links are numbered
         +-----------------------------------------------------------
 '*' OFF |  [Menu]                    [1][2][Menu]
         |
 '*' ON  |  [ISMAP]-[Menu]-[IMAGE]    [2][ISMAP]-[3][Menu]-[4][IMAGE]


Good enough?

Index: lynx2-7/src/HTML.c
*** lynx2-7/src/HTML.c.orig Tue, 01 Apr 1997 20:19:36 -0600 kweide 
(Lynx/e/2_HTML.c 1.2.1.2 644)
--- lynx2-7/src/HTML.c      Sun, 06 Apr 1997 14:23:52 -0600 kweide 
(Lynx/e/2_HTML.c 1.2.1.2 644)
***************
*** 2602,2610 ****
                 *  We're in an anchor and have a USEMAP, so end the anchor
                 *  and start a new one for the client-side MAP. - FM
                 */
!               if (dest_ismap || (present && present[HTML_IMG_ISMAP])) {
!                   HTML_put_string(me, "[ISMAP]");
!               } else {
                    HTML_put_string(me, "[LINK]");
                }
                if (me->inBoldA == TRUE && me->inBoldH == FALSE) {
--- 2602,2608 ----
                 *  We're in an anchor and have a USEMAP, so end the anchor
                 *  and start a new one for the client-side MAP. - FM
                 */
!               if (!(dest_ismap || (present && present[HTML_IMG_ISMAP]))) {
                    HTML_put_string(me, "[LINK]");
                }
                if (me->inBoldA == TRUE && me->inBoldH == FALSE) {
***************
*** 2612,2618 ****
                }
                me->inBoldA = FALSE;
                HText_endAnchor(me->text);
!               HText_appendCharacter(me->text, '-');
            } else {
                HTML_put_character(me, ' ');
                me->in_word = NO;
--- 2610,2617 ----
                }
                me->inBoldA = FALSE;
                HText_endAnchor(me->text);
!               if (!(dest_ismap || (present && present[HTML_IMG_ISMAP])))
!                   HText_appendCharacter(me->text, '-');
            } else {
                HTML_put_character(me, ' ');
                me->in_word = NO;


;
; 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]