DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Sizes (->SIZES)ΒΆ

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 = <span class="tx_fontsizer_1">|</span>
                }
        }
}

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