You are here

README.txt in Text Size 5

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
Drupal Text Size Module
-----------------------
Author - Christian Zwahlen info@zwahlendesign.ch
Requires - Drupal 5, jQuery Plugin: jQuery Cookie plugin (http://plugins.jquery.com/project/Cookie)
License - GPL (see LICENSE.txt)

Description
-----------
This module display a adjustable text size changer or a zoom function on the page for a better web accessibility.

The zoom function is comparable to the text zoom function in Firefox 3, but this module resize also variable media objects, variable pixel images and vector images.

Advantages compared with browser zoom
-------------------------------------
1. Adjustable (increases/decreases step, minimum, maximum, standard and variable or three fixed values).
2. Resize region definable (for example a div with a ID "content": <div id="content">).
3. Browser independent.
4. One click function. No tutorial required.
5. Same handling in any browser (shortcuts).
6. Resize text, variable images and media objects (media objects or pixel images with "em" or "%" and SVG images).
7. Select menu availabe.
8. Display current text size (zoom size).

Features
--------
* WCAG and BITV conform.
* No Javascript and Cookies required. jQuery support.
* No CSS required.
* Minimum and maximum textsize.
* Text size values 1-1000% available (increases/decreases step 1-99%, text size normal 2-999%, minimum text size 1-998%, maximum text size 3-1000%).
* Resize region definable with a ID or a class.
* Caching mode: "Normal" compatible.
* Uniform markin of menu, based on the open source browser Firefox 2.0 (www.mozilla.com/en-US/firefox/) (Increase Ctrl++, Decrease Ctrl+-, Normal Ctrl+0).
* Themable. See: theme_textsize_text(), theme_textsize_image() or theme_textsize_form($form).
* By default, compatible to the Drupal standard Theme: "Garland".
* No "!important" in the CSS available (less code).
* No JavaScript support available.

Installation
------------
1. Unpack and move the textsize modul to the Drupal directory "sites/all/modules/".
2. Download and install the "jQuery plugin" module (http://drupal.org/project/jquery_plugin).
3. Go to "Administer", "Site building", "Modules" ("admin/build/modules") and enable the module "Text Size".
4. Run the database update script "update.php" if required.

Settings
--------
1. Go to "Administer", "User management", "Access control" ("admin/user/access") and set the different roles.
2. Go to "Administer", "Site building", "Blocks" ("admin/build/block") and make the block "Text Size" visibile.
3. Go to "Administer", "Site configuration", "Text Size configuration" ("admin/settings/textsize") and change the settings if you want.
4. Go to "Administer", "Site configuration", "Localization", "Import" ("admin/settings/locale/language/import") and import your language file (for German "sites/all/modules/textsize/po/de.po") if it is necessary.

Theming
-------
Create Themes:
1. Copy the files/directorys in your theme:
  1. textsize.css
  2. images
2. Copy the code oft the functions in your template.php file:
  1. theme_textsize_text()
  2. theme_textsize_image()
  3. theme_textsize_form($form)
3. Rename the functions to the name of your theme ("mytheme") or use "phptemplate":
  1. mytheme_textsize_text()
  2. mytheme_textsize_image()
  3. mytheme_textsize_form($form)
4. Edit the PHP and CSS code in the files. Example: Image links, not in a list: Change the following elements: <ul>/</ul> to: <p>/</p>
  <li></li> to: <span class="display_hidden"> | </span>.
  WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Warning: Not for: WCAG/BITV 13.6! Links are not in a list.
5. Edit the images. Create your own icons. The source file is in the directory: "/images/source/textsize.xcf". PNG images are for new browsers and GIF images for old browsers (Internet Explorer 6).

Download Themes: Edited templates are available from the developers website: http://www.zwahlendesign.ch/textsize.

Translations
------------
German
Importieren Sie die Datei "sites/all/modules/textsize/po/de.po". unter "admin/settings/locale/language/import" in die Deutsche Sprache, wenn es nötig ist.

Other languages
Open the file "sites/all/modules/textsize/po/textsize.pot". in poEdit (http://www.poedit.net) or KBabel (http://kbabel.kde.org), translate the module in your language and save the file in "sites/all/modules/textsize/po/" with a file suffix ".po".

More Information
----------------
More help and information on: "Administer", "Help", "Text Size" ("admin/help/textsize").

File

README.txt
View source
  1. Drupal Text Size Module
  2. -----------------------
  3. Author - Christian Zwahlen info@zwahlendesign.ch
  4. Requires - Drupal 5, jQuery Plugin: jQuery Cookie plugin (http://plugins.jquery.com/project/Cookie)
  5. License - GPL (see LICENSE.txt)
  6. Description
  7. -----------
  8. This module display a adjustable text size changer or a zoom function on the page for a better web accessibility.
  9. The zoom function is comparable to the text zoom function in Firefox 3, but this module resize also variable media objects, variable pixel images and vector images.
  10. Advantages compared with browser zoom
  11. -------------------------------------
  12. 1. Adjustable (increases/decreases step, minimum, maximum, standard and variable or three fixed values).
  13. 2. Resize region definable (for example a div with a ID "content":
    ).
  14. 3. Browser independent.
  15. 4. One click function. No tutorial required.
  16. 5. Same handling in any browser (shortcuts).
  17. 6. Resize text, variable images and media objects (media objects or pixel images with "em" or "%" and SVG images).
  18. 7. Select menu availabe.
  19. 8. Display current text size (zoom size).
  20. Features
  21. --------
  22. * WCAG and BITV conform.
  23. * No Javascript and Cookies required. jQuery support.
  24. * No CSS required.
  25. * Minimum and maximum textsize.
  26. * Text size values 1-1000% available (increases/decreases step 1-99%, text size normal 2-999%, minimum text size 1-998%, maximum text size 3-1000%).
  27. * Resize region definable with a ID or a class.
  28. * Caching mode: "Normal" compatible.
  29. * Uniform markin of menu, based on the open source browser Firefox 2.0 (www.mozilla.com/en-US/firefox/) (Increase Ctrl++, Decrease Ctrl+-, Normal Ctrl+0).
  30. * Themable. See: theme_textsize_text(), theme_textsize_image() or theme_textsize_form($form).
  31. * By default, compatible to the Drupal standard Theme: "Garland".
  32. * No "!important" in the CSS available (less code).
  33. * No JavaScript support available.
  34. Installation
  35. ------------
  36. 1. Unpack and move the textsize modul to the Drupal directory "sites/all/modules/".
  37. 2. Download and install the "jQuery plugin" module (http://drupal.org/project/jquery_plugin).
  38. 3. Go to "Administer", "Site building", "Modules" ("admin/build/modules") and enable the module "Text Size".
  39. 4. Run the database update script "update.php" if required.
  40. Settings
  41. --------
  42. 1. Go to "Administer", "User management", "Access control" ("admin/user/access") and set the different roles.
  43. 2. Go to "Administer", "Site building", "Blocks" ("admin/build/block") and make the block "Text Size" visibile.
  44. 3. Go to "Administer", "Site configuration", "Text Size configuration" ("admin/settings/textsize") and change the settings if you want.
  45. 4. Go to "Administer", "Site configuration", "Localization", "Import" ("admin/settings/locale/language/import") and import your language file (for German "sites/all/modules/textsize/po/de.po") if it is necessary.
  46. Theming
  47. -------
  48. Create Themes:
  49. 1. Copy the files/directorys in your theme:
  50. 1. textsize.css
  51. 2. images
  52. 2. Copy the code oft the functions in your template.php file:
  53. 1. theme_textsize_text()
  54. 2. theme_textsize_image()
  55. 3. theme_textsize_form($form)
  56. 3. Rename the functions to the name of your theme ("mytheme") or use "phptemplate":
  57. 1. mytheme_textsize_text()
  58. 2. mytheme_textsize_image()
  59. 3. mytheme_textsize_form($form)
  60. 4. Edit the PHP and CSS code in the files. Example: Image links, not in a list: Change the following elements:
      /
    to:

    /

  61. to: | .
  62. WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Warning: Not for: WCAG/BITV 13.6! Links are not in a list.
  63. 5. Edit the images. Create your own icons. The source file is in the directory: "/images/source/textsize.xcf". PNG images are for new browsers and GIF images for old browsers (Internet Explorer 6).
  64. Download Themes: Edited templates are available from the developers website: http://www.zwahlendesign.ch/textsize.
  65. Translations
  66. ------------
  67. German
  68. Importieren Sie die Datei "sites/all/modules/textsize/po/de.po". unter "admin/settings/locale/language/import" in die Deutsche Sprache, wenn es nötig ist.
  69. Other languages
  70. Open the file "sites/all/modules/textsize/po/textsize.pot". in poEdit (http://www.poedit.net) or KBabel (http://kbabel.kde.org), translate the module in your language and save the file in "sites/all/modules/textsize/po/" with a file suffix ".po".
  71. More Information
  72. ----------------
  73. More help and information on: "Administer", "Help", "Text Size" ("admin/help/textsize").