W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Horizontal menu-2

From: Dmitry Turin <html60@narod.ru>
Date: Fri, 25 May 2007 12:43:51 +0400
Message-ID: <2218910444.20070525124351@narod.ru>
To: public-html@w3.org

Good day.
I already raised this question, but i not writed example wholely (as i find now).
I offer the following constructuction

<select text="Name of part1 of site">
  <option value="www.company.com/dir1/dir2/docname.htm">Part1.1</option>
  ...
  <option value="./folder1/folder2/document.htm">       Part1.9</option>
</select>
<select text="Name of part2 of site">
  <option value="www.site.net/folder/filename.htm">     Part2.1</option>
  ...
</select>
<select text="Name of part3 of site">
  <option value="www.project.org/directory/file.htm">   Part3.1</option>
  ...
</select>

to create _horizontal menu_ (menu in horizontal line) of site without JS
(that is important for low-skill users).

Presence itself of attribute 'text' inside tag SELECT specify,
that 'value' of OPTION contain address of document,
which will be displayed, when user choose this OPTION.

Besides that, 'text' forces to demonstrate own values
instead of value of first OPTION and
abolish "arrow downwards" in image of SELECT.

It also forces to show list of OPTIONs at event "onmouseover",
i.e. when user _touch_ (not press) element SELECT by mouse.


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru
Received on Friday, 25 May 2007 13:17:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT