NAVIGATION
This shows you the differences between two versions of the page.
deutsch:andere-erweiterungen:mootools:fontsizer [2011/01/12 16:52] Knut Heermann (flip-flop) |
deutsch:andere-erweiterungen:mootools:fontsizer [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n>10}} | ||
+ | |||
====== Dynamische Schriftgrößenänderung ====== | ====== Dynamische Schriftgrößenänderung ====== | ||
Line 72: | Line 74: | ||
===== JavaScript: ===== | ===== JavaScript: ===== | ||
+ | Fehlerkorrektur 12.01.2011 KH: [[https://github.com/mootools/mootools-core/wiki/Conversion-from-1.11-to-1.2-|Conversion from mootools 1.11 to mootools 1.2]] | ||
+ | * ##%%Cookie.set(key, value[, options]);%%## ---> ##%%Cookie.write(key, value[, options]);%%## | ||
+ | * ##%%Cookie.remove(cookie[, options]);%%## ---> ##%%Cookie.dispose(cookie[, options]);%%## | ||
+ | |||
+ | \\ | ||
**Verzeichnis:** %%template/lib/mootools/plugin-1.2/%% | **Verzeichnis:** %%template/lib/mootools/plugin-1.2/%% | ||
Line 163: | Line 170: | ||
case 'normal': | case 'normal': | ||
default: | default: | ||
- | $( fsize_section ).setStyle(''); | + | // $( fsize_section ).setStyle(''); // trouble with IE8 ??? |
fsize = 1; | fsize = 1; | ||
$( fsize_section ).setStyle('font-size', fsize+'em'); | $( fsize_section ).setStyle('font-size', fsize+'em'); |