List of articles   Colour designations   Choose language


Pages in document



I offer the following:

<html>
<body>

  <pages>
    <page>
      <caption>AAA</caption>
      <pbody>  ...</pbody>
    </page>
    <page>
      <caption>BBB</caption>
      <pbody>  ...</pbody>
    </page>
    <page>
      <caption>CCC</caption>
      <pbody>  ...</pbody>
    </page>
  </pages>

</body>
</html>
which is displayed in document so:
___________________
| AAA | BBB | CCC |
|     ------------|
|                 |
|                 |
|                 |
|                 |
|                 |
-------------------

Element pbody contain arbitrary html-elements. Width of pages is equal to width of the most wide page, height of pages is equal to height of the high page. When user press at "BBB", it will be displayed as:

___________________
| AAA | BBB | CCC |
|------     ------|
|                 |
|                 |
|                 |
|                 |
|                 |
-------------------
When user press at "CCC", it will be displayed as:
___________________
| AAA | BBB | CCC |
|------------     |
|                 |
|                 |
|                 |
|                 |
|                 |
-------------------
Controls from all page are sent at one:
<form>

  <pages>
    <page>
      <caption>AAA</caption>
      <pbody>  <input ...> </pbody>
    </page>
    <page>
      <caption>BBB</caption>
      <pbody>  <input ...> </pbody>
    </page>
    <page>
      <caption>CCC</caption>
      <pbody>  <input ...> </pbody>
    </page>
  </pages>

</form>
pbody can contain iframe or frame.



Dmitry Turin



List of articles   Colour designations   Choose language