>\"> | ";
for (i = 1; i <= len; i++) {
// To get the alignment right, we have to print '>' on each
// and every line. However, we print it in the background
// color to make it invisible everywhere but in front of the
// current selection.
if (selection != i)
">\">>";
else ">";
// Make each selection a plain (i.e. unhilighted) HREF
">\">";
(self.myContents[i]).title;
" "; } " |
>\"> | ";
for (i = 1; i <= len; i++) {
if (selection != i)
">\">>";
else ">";
(self.myContents[i]).title;
" "; } " |
>\"> | "; // The firstTime variable flags whether or not this is our first // trip through this loop. If it's not, we need to adjust the // # of displayed hints, among other things. if (firstTime) i = 1; else { // Only display a # of strings equal to or less than chunkSize if (topTopic != 1 && self.lastDisplayed - topTopic < self.chunkSize) i = topTopic; else i = self.lastDisplayed - self.chunkSize + 1; if (i < 1) i = 1; } while (i <= self.lastDisplayed) { // If we display a chunk's worth of strings and this is our // first time through the loop we pause, then keep printing // out the rest of the strings if (i > chunk && firstTime) { " |
>\"> | ";
// Increment the counter which keeps track of the string
// # at which the next chunk ends. Also bump up the
// current top topic string #.
chunk += self.chunkSize;
topTopic = i;
}
"< "; if (i == len) say(self.goodbye); i++; } " |