Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:50 PM
Eddy Stone
Guest
 
Posts: n/a
Default Text Field question....

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 ?


  #2  
Old July 20th, 2005, 06:50 PM
Neal
Guest
 
Posts: n/a
Default Re: Text Field question....

On Sat, 28 Feb 2004 16:11:07 -0000, Eddy Stone <not-telling@hotmail.com>
wrote:
[color=blue]
> 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 ?
>
>[/color]

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.
  #3  
Old July 20th, 2005, 06:50 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: Text Field question....

"Eddy Stone" <not-telling@hotmail.com> wrote:
[color=blue]
> 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...[/color]

Use links instead.
[color=blue]
> 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 ?[/color]

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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles