Number of list item

1) Sometimes serial number of list items should begin
from not one, and from not zero,
but from another positive or negative number.
2) Sometimes it's necessary to miss some numbers of list items.

I offer to enter attribute "from" with integer values for <li>,
attribute force to count serial number from own value.

Example below

<ul>
  <li from="-10"> phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li from="0">   phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li from="100"> phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
</ul>

will be displayed so
 
-10. prase
 -9. prase
 -8. prase
 -7. prase
  0. prase
  1. prase
  2. prase
  3. prase
100. prase
101. prase
102. prase
103. prase



Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru

Received on Wednesday, 2 May 2007 16:56:25 UTC