| version 1.3, 2003/12/25 12:06:50 |
version 1.4, 2004/01/05 11:36:22 |
| Line 7 to do powerful main content table resizi |
|
| Line 7 to do powerful main content table resizi |
|
| specify maximum width of table. Some pages look on big monitors bad, so |
specify maximum width of table. Some pages look on big monitors bad, so |
| this is how to avoid of that. Set your content table like this: |
this is how to avoid of that. Set your content table like this: |
| |
|
| <table width="100%" id="contentTable"> |
<table width="100%" id="contentTable*"> |
| |
|
| Parameter id is compulsory. We recommend you to set width to percentage |
Attribute id is compulsory. Substitute "*" with zero or more arbitrary |
| value. If JavaScript will not work on client side, page will be displayed |
characters. We recommend you to set width to percentage value. |
| still well. Due to percentage, on small monitors it will be still good. |
If JavaScript will not work on client side, page will be displayed still |
| And important is that it will be without horizontal scroll bar. |
well. Due to percentage, on small monitors it will be still good. And |
| |
important is that it will be without horizontal scroll bar. |
| |
|
| Than determine maximum size of screen when you page still looks good. |
Than determine maximum size of screen when you page still looks good. |
| Imagine it is 700. Also determine value of table width which will be set |
Imagine it is 700. Also determine value of table width which will be set |
| Line 37 will exceed maximum width (param 1). If |
|
| Line 38 will exceed maximum width (param 1). If |
|
| percentage base, it will be resized accordingly. |
percentage base, it will be resized accordingly. |
| |
|
| Version history: |
Version history: |
| |
* In version 0.4 (release 05-Jan-2004) was corrected support in multiple |
| |
content tables usage. Content tables are now identified according |
| |
to "contentTable" prefix. |
| * Since version 0.3 (released 04-Sep-2002) you can use percentage base as |
* Since version 0.3 (released 04-Sep-2002) you can use percentage base as |
| optional third parameter. |
optional third parameter. |
| * Since version 0.2 you can specify more that one contentTable. |
* Since version 0.2 you can specify more that one contentTable. |
| * Version 0.1 was initial release. |
* Version 0.1 was initial release. |
| |
|
| Developed by Ondrej Jombik <nepto AT platon.sk> |
Developed by Ondrej Jombik <nepto AT platon.sk> |
| Copyright (c) 2000-2002 Platon SDG, http://platon.sk/ |
Copyright (c) 2002-2004 Platon SDG, http://platon.sk/ |
| |
|
| Comments, suggestions, bug reports and patches are always welcome. |
Comments, suggestions, bug reports and patches are always welcome. |
| Please e-mail them to the following address: <platon AT platon.sk> |
Please e-mail them to the following address: <platon AT platon.sk> |