By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,244 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,244 IT Pros & Developers. It's quick & easy.

Text Field question....

P: n/a
I would like to be able to use a text input field on my homepage as a way of
navigating to other pages within my website...

For example, if I typed "diary" into the text field (and pressed submit) it
would take
me to www.mywebsite.com/diary.htm....

Is there any easy way to do this ?
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Sat, 28 Feb 2004 16:11:07 -0000, Eddy Stone <no*********@hotmail.com>
wrote:
I would like to be able to use a text input field on my homepage as a
way of
navigating to other pages within my website...

For example, if I typed "diary" into the text field (and pressed submit)
it
would take
me to www.mywebsite.com/diary.htm....

Is there any easy way to do this ?


It can be done with CGI, I imagine, though I'm the last person to know how.

But what if I type something else? What if I can't spell? Be sure you
provide normal links as well. Probably better would be to use a select box
with options so there's no guesswork as to what is posible to type
successfully and not. Unless you want it to be a Zen experience.
Jul 20 '05 #2

P: n/a
"Eddy Stone" <no*********@hotmail.com> wrote:
I would like to be able to use a text input field on my homepage as
a way of navigating to other pages within my website...
Use links instead.
For example, if I typed "diary" into the text field (and pressed
submit) it would take
me to www.mywebsite.com/diary.htm....

Is there any easy way to do this ?


No. If you really want to do that, and create a user interface that
radically differs from what users are accustomed to, you should
set up a form that has _both_ a client-side handler in JavaScript
(for efficiency) _and_ a server-side handler (for robustness).
Cf. to http://www.cs.tut.fi/~jkorpela/forms/getrfc.html#redir
(Well, it's not really rocket science. But it's more difficult to the
author than normal links are, _and_ it's less useable to users.)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.