<SELECT name="URLpick" onChange=window.open('/forum/'+this.options[this.selectedIndex].value,'_top')>
<OPTION VALUE="" SELECTED>Select view</OPTION>
<OPTION VALUE="/DateAllThreadedWeb?openView">Date (threaded)
<OPTION VALUE="/DateAllFlatweb?openView">Date (flat)
<OPTION VALUE="/DateAllwithExcerptWeb?Openview">With excerpt
squished into a table cell along with lots of other passthru-HTML. It took me a moment to realize that this was the solution the developer had found for a combo-box that automatically follows the link when a selection is made, as opposed to having to press a Go button after selecting. Now, while Web UI designers may dislike this type of combo-link, companies who pay Web UI designers love it.
So, my question is, why would you write this in passthru HTML? It is difficult to read, must be deciphered as opposed to recognized, and can be done in a more standard way with Notes constructs, which make the design a good deal more WYSIWYG (a fairly popular goal as far back as the 1980s). All you have to do is create a dialog list field called URLpick with the following choices:
and then set the field's onChange event to:
You get the same effect, and even the exact same HTML generated, but what you have is recognizably a combo-box, it fits in the cell and the whole design is easier to see.
So, which do you think should be used? The HTML, as this is a web design element and web developers will be looking at it? The combo-box, for readability and WYSIWYG? You decide.
By the way, if you came to my session at the UK Admin-Developer conference in London next Monday on Advanced Notes/Web Coexistence, you could see more of these tips, and hear a more detailed argument for using Notes constructs in this scenario. You might also find out some interesting ways you could use these web tricks in the native Notes client. There is still time to sign up for the conference (especially if you live near London and don't have to worry about airline tickets).
Copyright © 2003 Genii Software Ltd.