.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. ================================================== .. DEFINE SOME TEXTROLES .. -------------------------------------------------- .. role:: underline .. role:: typoscript(code) .. role:: ts(typoscript) :class: typoscript .. role:: php(code) Sizes (->SIZES) ^^^^^^^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. container:: table-row Property 1,2,3,... Data type stdWrap Description stdWrap configuration for each size. Must contain a postUserFunc configuration with the following properties: .redirect : a stdWrap configuration for the URL of this page. The example below shows a configuration which contains the current URL, including extra parameters. It does not preserve any POST variables, so it may destroy dynamic page content which depends on POST variables. .size : the size number in TSConfig which contains the CSS to be used .set : the switch this link belongs to. Note that only sets 2-5 must be set; for the default switch (pi1) the set property must be left blank! .stdWrap : configuration for this particular size; this means that each size may have different lay out. :: 1 { postUserFunc = tx_fontsizer->makeResizeLink postUserFunc { redirect.data = getIndpEnv:TYPO3_REQUEST_URL size = 1 stdWrap { wrap = | } } } The postUserFunc makes the link to the eID-script which changes the CSS. The contents of the link are determined by the definitions in the Items section (see earlier). So, with the default configuration there are 5 available sizes, which are combined with the items 'smaller', 'default' and 'bigger'. Default: *smaller: 2; default: 3; bigger: 4* , after someone clicks on the 'bigger' link: *smaller: 3; default: 3; bigger: 5* . Another click on 'bigger': *smaller: 4; default: 3; bigger: 5* (there is no size higher than 5). Default - .. ###### END~OF~TABLE ######