Font Size

Font Size is a little plugin that changes dynamically the font size of your web site by Astrid Schäfer http://www.elite-media.de

Install

Unzip in /plugins. DIR: /temp = CHMOD 777 [Entpacken im Verzeichnis /plugins, Verzeichnis /temp = CHMOD 777]

Open your template.htm:

  1. before the function head() note <?php echo sprint(); ?>
  2. Note now somewhere in body <?php echo sform();?> = the buttons

Example

<head>
<?php echo sprint(); ?>
...<?php echo head(); ?>...
</head>
<body>
<?php echo sform(); ?>
</body>

Style

In the Template-CSS-File you must remove the value “body {font-size: xyz;}”. All other Elements may receive a Font-size value, but with relative units (% - em -ex). [In der Template-CSS-Datei muss font-size aus body entfernt werden. Alle anderen Elemente dürfen Schriftgrößen enthalten, aber mit relativen Einheiten...] Config

  • default = Normal Fontsize in em [Standardschrift in em]
  • min = minimum accepted value [Kleinster zugelassener Wert]
  • max = maximum accepted value [Größter zugelassener Wert]
  • step = Value for the Zoom-Steps [Zoomfaktor Schrittgröße]
  • head = description [Beschreibung]
  • button1 = Button make smaller [Button verkleinern]
  • button2 = Button make standard [Button Standard]
  • button3 = Button make larger [Button vergrößern]

Wiki-Download: FontSize

back to plugins

plugins/font_size.txt · Last modified: 2008/06/02 22:25 by astrid