Re: Client-side searching proposal

Adam T. McClure (
Wed, 25 Jan 1995 18:09:49 +0100

> The idea I propose is to allow URLs to contain a search keyword for
> client-side searching. Most browsers allow you to search a document
> for strings.
> So here's how it could work..
> would have the browser load the URL,
> look for an anchor named "/jump"
> (for backwards compatibilty)
> else search for "jump", scroll to it and highlight it
> If the use of "/" is undesirable, simply find another notation.
> Robert Hartill
> Los Alamos National Laboratory Phone: (505) 665 2280
> Theoretical Division, T-8, MS B285 Fax: (505) 667 5585
> P.O. Box 1663
> Los Alamos, NM 87545, U.S.A.
I wanted to add my $.02 on this one in regards to implementing a way to jump
to the middle of the document. I have been trying to do something along a
similar vein so I think it might be relevant to bring up a few isues I've run

I agree that there needs to be some srt of mechanism for jumping ot the middle
of a document and the client could add a table of virtual <a name=""></a> anchors
or something on their side, but the real problem here (especially if you're talking
about allowing scripts to do this) is the decision that was made in committee a
while back to use the "#" token as a way of specifying a point within a file from
a URL.

I am currently trying to create an imagemap that jumps to one document, but will
go to a different place in the same document depending on which rect, poly, etc
the user clicks on. What I've found is that when trying to specify the location
within the file to jump to with "#" it is treated as a comment and the rest of the
line is ignored so half my URL gets chopped off. This is not only a problem for
imagemap files, but any scripting language (like Perl, csh, and a host of others)
that uses "#" as a comment initiator token. I strongly suggest that the HTML spec
be modified to replace the token with something a little more innocuous. "^"

If anyone has a solution to the imagemap problem I would really appreciate hearing
from you!

Thanks for reading,
Adam T. McClure
Integrated Teaching & Learning Project