Propose : A drop-down list for presenting a list of articles

Article proposé
---------------

L'article "A drop-down list for presenting a list of articles" est
proposé à la publication.
Vous êtes invité à venir le consulter et à donner votre opinion
dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/articles.php3?id_article=2297

** A drop-down list for presenting a list of articles **
par Paolo

It is easy to make a drop-down list in an HTML form which gives instant
access to the selected article.

If the URLs of the site’s articles are in the form
article.php3?id_article=123, the following code will do the trick:

<FORM ACTION="article.php3" METHOD="get"> <SELECT NAME="id_article">
    <BOUCLE_menu_articles(ARTICLES) id_rubrique par titre> <OPTION
VALUE="#ID_ARTICLE">#TITRE</OPTION> </BOUCLE_menu_articles> </SELECT>
  <INPUT TYPE="submit" NAME="Validate" VALUE="Go to article"> </FORM>

The criteria of the loop can be changed according to your needs. In the
example given the articles of the current section will be shown, sorted
(...)