r6 - 15 Feb 2005 - 23:34:27 - SamHaslerYou are here: TWiki >  Codev Web > GoBoxUnderstandsURLs
Tags:
, create new tag
Small enhancement: The Go box understands now also URLs as defined in $linkProtocolPattern, e.g. http, ftp, gopher, news, file, https and telnet. Not very useful at first hand because it duplicates the function of the browser's address field.

The feature is handy if you build a skin that has a dropdown of frequently used links, like Intranet home, employee database, sales database and such. A little JavaScript gets into action on the onSelect method of the select tag to fill the selected URL into the Go box field, then submits the form.

In TWikiAlphaRelease.

-- PeterThoeny - 25 Nov 2002

Here is an example form for illustration. It has a select box and the Go box. You need to have JavaScript enabled for this to work:

Bare bones header for demo only
Readme  |  Show me topics of interest  |  Topics Index  |  Changes Detailed  |  Search  |  Go
Dakar  |  Brainstorming  |  Requests ToDo Dev  |  Bugs Assigned Done  |  Patches Unfinished Ready Accepted  |  DevQs  |  Usability

The select box can be added to an existing skin. This is now documented in TWiki.TWikiSkins.

-- PeterThoeny - 04 Jan 2003

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 < r5 < r4 < r3 < r2 | More topic actions
Codev.GoBoxUnderstandsURLs moved from Codev.GoBoxForURLs on 25 Nov 2002 - 09:07 by PeterThoeny - put it back
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo