| 1 |
|
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 3 |
<html> |
| 4 |
<head> |
| 5 |
<meta name="generator" content= |
| 6 |
"HTML Tidy for HTML5 for Linux version 5.6.0"> |
| 7 |
<title>Help on the Follow link (or page) number feature</title> |
| 8 |
<link rel="author" href="mailto:[email protected]"> |
| 9 |
<meta http-equiv="Content-Type" content= |
| 10 |
"text/html; charset=us-ascii"> |
| 11 |
<meta name="description" content= |
| 12 |
"Lynx allows the user to select a link using a single-digit shortcut. There are several configuration choices which apply to this feature."> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div class="nav"> |
| 16 |
<ul> |
| 17 |
<li><a href="#overview">Overview</a></li> |
| 18 |
|
| 19 |
<li><a href="#numbering">Zero and other digits</a></li> |
| 20 |
|
| 21 |
<li><a href="#suffixes">Suffixes</a></li> |
| 22 |
|
| 23 |
<li><a href="#form_fields">Specifics for Form Fields</a></li> |
| 24 |
|
| 25 |
<li><a href="#hidden_links">Hidden Links</a></li> |
| 26 |
|
| 27 |
<li><a href="#goto_hidden_link">Navigating to Hidden |
| 28 |
Links</a></li> |
| 29 |
</ul> |
| 30 |
</div> |
| 31 |
|
| 32 |
<h2><a name="overview" id="overview">Overview</a></h2> |
| 33 |
|
| 34 |
<p>If a user has set one of these modes, (as the default or for |
| 35 |
the current session via the <em>Options menu</em>) then hypertext |
| 36 |
links (and form fields, depending on the keypad mode) are |
| 37 |
prefixed with numbers in square brackets:</p> |
| 38 |
|
| 39 |
<ul> |
| 40 |
<li><em>Keypad mode</em> to <em>Links are numbered</em>, |
| 41 |
or</li> |
| 42 |
|
| 43 |
<li><em>Form fields are numbered</em>, or</li> |
| 44 |
|
| 45 |
<li><em>Links and form fields are numbered</em> |
| 46 |
</li> |
| 47 |
</ul> |
| 48 |
|
| 49 |
<p>Entering a keyboard or keypad number is treated as an |
| 50 |
<em>F_LINK_NUM</em> command, and should invoke the <em>Follow |
| 51 |
link (or goto link or page) number:</em> statusline prompt for a |
| 52 |
potentially multiple digit number corresponding to an indicated |
| 53 |
link number.</p> |
| 54 |
|
| 55 |
<h2><a name="numbering" id="numbering">Zero and other digits</a></h2> |
| 56 |
|
| 57 |
<p>The prompt can be invoked via typing a zero (<em>0</em>), but |
| 58 |
it will not be treated as the lead digit for the number entry, |
| 59 |
whereas digits 1 through 9 both invoke the prompt and are treated |
| 60 |
as the first digit.</p> |
| 61 |
|
| 62 |
<p>In <em>Form fields are numbered</em> or <em>Links and form |
| 63 |
fields are numbered</em> mode, if the number corresponds to a |
| 64 |
form field you will be positioned on that field, but if it is a |
| 65 |
submit button it will not be ACTIVATE-ed.</p> |
| 66 |
|
| 67 |
<p>If the user has set <em>Keypad mode</em> to <em>Numbers act as |
| 68 |
arrows</em>, then only a zero digit will be treated as an |
| 69 |
<em>F_LINK_NUM</em> command for invoking the <em>Follow link (or |
| 70 |
goto link or page) number:</em> prompt.</p> |
| 71 |
|
| 72 |
<h2><a name="suffixes" id="suffixes">Suffixes</a></h2> |
| 73 |
|
| 74 |
<p>After accepting a number at the prompt, <strong>Lynx</strong> |
| 75 |
accepts an optional suffix:</p> |
| 76 |
|
| 77 |
<dl> |
| 78 |
<dt><em>RETURN</em> (activate)</dt> |
| 79 |
|
| 80 |
<dd>Without a suffix, e.g., If <em>RETURN</em> is pressed to |
| 81 |
terminate the number entry (e.g., <em>123</em>) and it |
| 82 |
corresponds to a hypertext link, <strong>Lynx</strong> will |
| 83 |
retrieve the document for that link as if you had paged or used |
| 84 |
other navigation commands to make it the current link and then |
| 85 |
ACTIVATE-ed it.</dd> |
| 86 |
|
| 87 |
<dt><code><strong>g</strong></code> (go)</dt> |
| 88 |
|
| 89 |
<dd> |
| 90 |
<p>If the number entered at the prompt has a |
| 91 |
“<em>g</em>” suffix (e.g., <em>123g</em>), then |
| 92 |
<strong>Lynx</strong> will make the link corresponding to |
| 93 |
that number the current link, paging as appropriate if the |
| 94 |
link does not appear in the currently displayed page. The |
| 95 |
“<em>g</em>” suffix is inferred (need not be |
| 96 |
entered) for form fields in <em>Form fields are numbered</em> |
| 97 |
or <em>Links and form fields are numbered</em> mode.</p> |
| 98 |
</dd> |
| 99 |
|
| 100 |
<dt><code><strong>p</strong></code> (page)</dt> |
| 101 |
|
| 102 |
<dd> |
| 103 |
<p>Alternatively, if the number is given a |
| 104 |
“<em>p</em>” suffix (e.g., <em>123p</em>), |
| 105 |
<strong>Lynx</strong> will make the page corresponding to |
| 106 |
that number the currently displayed page, and the first link |
| 107 |
on that page, if any, the current link. The |
| 108 |
“<em>g</em>” and “<em>p</em>” |
| 109 |
suffixes thus convert the <em>Follow link (or goto link or |
| 110 |
page) number:</em> feature to an advanced navigation aid.</p> |
| 111 |
</dd> |
| 112 |
|
| 113 |
<dt><code><strong>+</strong></code> or |
| 114 |
<code><strong>-</strong></code> (jump)</dt> |
| 115 |
|
| 116 |
<dd> |
| 117 |
<p>Finally, a user may add a <em>+</em> or <em>-</em> suffix |
| 118 |
to a number command to indicate jumping forward or back |
| 119 |
relative to the current link or page. For example, typing |
| 120 |
<em>1g+</em> followed by RETURN will move the current link to |
| 121 |
the next numbered link, skipping any intervening pages or |
| 122 |
unnumbered links; <em>1g-</em> goes to the preceding numbered |
| 123 |
link. On a page without links, <em>3g+</em> goes to the 3rd |
| 124 |
link <em>following</em> the page. <em>5p+</em> skips ahead 5 |
| 125 |
pages, and so on. You can also enter <em>5+</em> or |
| 126 |
<em>5-</em>, which will activate the 5th link ahead/behind |
| 127 |
where you are currently positioned. Note that typing |
| 128 |
<em>1g+</em> is different from typing a down arrow in that |
| 129 |
<em>1g+</em> skips pages containing no links, or intervening |
| 130 |
non-numbered links, such as form fields when form fields are |
| 131 |
not numbered. It also differs from the <em><tab></em> |
| 132 |
command in that <em>1g+</em> does not skip over whole |
| 133 |
textareas, unless form fields are not numbered.</p> |
| 134 |
|
| 135 |
<p><em>NOTE:</em> <em>1+g 1-g 1+p 1-p</em> are all recognized |
| 136 |
as equivalent to <em>1g+ 1g- 1p+ 1p-</em> . Any other |
| 137 |
(mistyped) characters end the formula: e.g. <em>1gh+</em> is |
| 138 |
treated as <em>1g</em>.</p> |
| 139 |
</dd> |
| 140 |
</dl> |
| 141 |
|
| 142 |
<h2><a name="form_fields" id="form_fields">Specifics for Form |
| 143 |
Fields</a></h2> |
| 144 |
|
| 145 |
<p>Numbers are associated with form fields only when</p> |
| 146 |
|
| 147 |
<ul> |
| 148 |
<li><em>Form fields are numbered</em> or</li> |
| 149 |
|
| 150 |
<li><em>Links and form fields are numbered</em> mode has been |
| 151 |
selected.</li> |
| 152 |
</ul> |
| 153 |
|
| 154 |
<p>If you have selected <em>Numbers act as arrows</em> or |
| 155 |
<em>Links are numbered</em> mode, you can seek form fields in the |
| 156 |
document via WHEREIS searches for strings in their displayed |
| 157 |
values. If they are INPUT or TEXTAREA fields with no values as |
| 158 |
yet, you can use two or more underscores as the search string, |
| 159 |
because underscores are used as placeholders for form fields in |
| 160 |
the displayed document.</p> |
| 161 |
|
| 162 |
<p id="select-option">When you have invoked a popup window for a |
| 163 |
list of OPTIONs in a form's SELECT block:</p> |
| 164 |
|
| 165 |
<ul> |
| 166 |
<li>each OPTION is associated with a number, and that number |
| 167 |
will be displayed in <em>Form fields are numbered</em> or |
| 168 |
<em>Links and form fields are numbered</em> mode.</li> |
| 169 |
|
| 170 |
<li>In any keypad mode, the <em>F_LINK_NUM</em> |
| 171 |
(“<em>0</em>”) command will invoke a <em>Select |
| 172 |
option (or page) number:</em> prompt, and you can enter a |
| 173 |
number, and optionally a “<em>g</em>” or |
| 174 |
“<em>p</em>” suffix, to select or seek an OPTION in |
| 175 |
that list.</li> |
| 176 |
|
| 177 |
<li>If only a number is entered at the prompt, the |
| 178 |
corresponding OPTION will be selected and the popup will be |
| 179 |
retracted.</li> |
| 180 |
|
| 181 |
<li>If the “<em>g</em>” suffix is included, then |
| 182 |
you will be positioned on the corresponding OPTION in the list, |
| 183 |
paging through the list if necessary, but it will not be |
| 184 |
treated as selected unless you enter the ACTIVATE (RETURN or |
| 185 |
right-arrow) command when positioned on the OPTION.</li> |
| 186 |
|
| 187 |
<li>For purposes of paging (e.g., in conjunction with the |
| 188 |
“<em>p</em>” suffix), a <em>page</em> is defined as |
| 189 |
the number of OPTIONs displayed within the vertical dimension |
| 190 |
of the popup window.</li> |
| 191 |
|
| 192 |
<li>Finally, the <em>+</em> and <em>-</em> suffixes can be used |
| 193 |
to move forward or back from the current option or page in a |
| 194 |
popup menu, similarly to the way they are used for links.</li> |
| 195 |
</ul> |
| 196 |
|
| 197 |
<p>For example, while viewing a popup window, the user can type |
| 198 |
<em>3p+</em> and RETURN to skip ahead 3 pages, and <em>50g-</em> |
| 199 |
will move the current selection back 50 options. This will work |
| 200 |
whether or not <em>keypad mode</em> is <em>Form fields are |
| 201 |
numbered</em> or <em>Links and form fields are numbered</em> |
| 202 |
since options are numbered internally. If form field numbering is |
| 203 |
turned off, the option numbers will not appear on screen, but the |
| 204 |
user can still navigate using these commands.</p> |
| 205 |
|
| 206 |
<h2><a name="hidden_links" id="hidden_links">Hidden Links</a></h2> |
| 207 |
|
| 208 |
<p>HTML can be structured so that it includes <em>hidden |
| 209 |
links</em>, i.e., without a visible link name intended for |
| 210 |
ACTIVATE-ing the link. Such links may be created, for example, |
| 211 |
by</p> |
| 212 |
|
| 213 |
<ul> |
| 214 |
<li>making an IMG element the sole content of an Anchor |
| 215 |
element, and including an ALT="" attribute name/value pair to |
| 216 |
suppress access to the link when the browser does not have |
| 217 |
support for image handling available.</li> |
| 218 |
|
| 219 |
<li>having truly empty Anchor content, in cases for which the |
| 220 |
value of an Anchor's HREF attribute is intended as a navigation |
| 221 |
aid for robots (typically indexers) and not as content for a |
| 222 |
browser's rendition of the document.</li> |
| 223 |
|
| 224 |
<li>using the <em>-ismap</em> command line switch, which makes |
| 225 |
<strong>Lynx</strong> additionally treat a link to a |
| 226 |
server-side image maps as hidden if there also is a client-side |
| 227 |
map for the same image.</li> |
| 228 |
|
| 229 |
<li>bad HTML, which may produce <em>hidden links</em>.</li> |
| 230 |
</ul> |
| 231 |
|
| 232 |
<p><em>Hidden links</em> differ from Anchors that have only a |
| 233 |
NAME or ID attribute name/value pair (intended as positioning |
| 234 |
targets from other links which do have HREF attributes and values |
| 235 |
that include a fragment).</p> |
| 236 |
|
| 237 |
<p><strong>Lynx</strong> respects instructions for <em>hidden |
| 238 |
links</em> and normally does not include them in the rendition of |
| 239 |
the document. However, if the command line switch |
| 240 |
<em>-hiddenlinks=merge</em> is used, such links will still be |
| 241 |
numbered in sequence with other links which are not hidden, and |
| 242 |
if <em>Links are numbered</em> mode is also on, link numbers will |
| 243 |
appear for them in the displayed text (except for links to image |
| 244 |
maps which are hidden because of <em>-ismap</em>). If |
| 245 |
<em>-hiddenlinks=listonly</em> or <em>-hiddenlinks=ignore</em> is |
| 246 |
in effect, <em>hidden links</em> will not be shown in the text |
| 247 |
even in <em>links are numbered</em> mode. Not using a |
| 248 |
<em>-hiddenlinks</em> flag at all is equivalent to |
| 249 |
<em>-hiddenlinks=listonly</em>.</p> |
| 250 |
|
| 251 |
<h2><a name="goto_hidden_link" id="goto_hidden_link">Navigating |
| 252 |
to Hidden Links</a></h2> |
| 253 |
|
| 254 |
<p>If a document includes <em>hidden links</em>, they will be |
| 255 |
reported, with appropriate labeling, in the menus created for the |
| 256 |
LIST (“<em>l</em>”) or ADDRLIST |
| 257 |
(“<em>A</em>”) commands, unless |
| 258 |
<em>-hiddenlinks=ignore</em> is used. They can then be |
| 259 |
ACTIVATE-ed via those menus.</p> |
| 260 |
|
| 261 |
<p>If a link was hidden because of an ALT attribute in an IMG |
| 262 |
element, it will be converted to a <em>visible link</em> whenever |
| 263 |
the IMAGE_TOGGLE (“<em>*</em>”) command is used to |
| 264 |
create links for SRC attribute values of IMG elements, because |
| 265 |
this indicates that the user does have some form of image |
| 266 |
handling enabled via a helper application, or wishes to download |
| 267 |
files for subsequent use with a graphic browser or other suitable |
| 268 |
software.</p> |
| 269 |
|
| 270 |
<p>HTML forms may have fields with a HIDDEN attribute, indicating |
| 271 |
that a name/value pair for the fields should be included in the |
| 272 |
content submitted for the form, but the value should not be |
| 273 |
displayed in the rendered form. <strong>Lynx</strong> respects |
| 274 |
this attribute as well, and neither displays the HIDDEN field, |
| 275 |
nor assigns it a number for the F_LINK_NUM |
| 276 |
(“<em>0</em>”) command and <em>Form fields are |
| 277 |
numbered</em> or <em>Links and form fields are numbered</em> |
| 278 |
keypad mode handling, nor includes an entry for it in the menus |
| 279 |
created for the LIST (“<em>l</em>”) or ADDRLIST |
| 280 |
(“<em>A</em>”) commands. However, the HIDDEN |
| 281 |
name/value pairs are included in any displays of submitted form |
| 282 |
content in the <em>Information about the current document</em> |
| 283 |
that is invoked by the INFO (“<em>=</em>”) |
| 284 |
command.</p> |
| 285 |
</body> |
| 286 |
</html> |