Issue Feature Closed

#15166typolink ATagParams should have stdWrap properties

Sacha Vorbeck 10/31/05, 16:02 updated 07/25/08, 10:49

Description

Currently, ATagParams only takes a string as value. If you`d like to add a background-image dynamically (e. g. in a flexible content element), you can`t create the style property with an IMG_RESOURCE object:

That`s why I think it would be a good idea to have stdWrap properties for typolink ATagParams.

Below is an example how a CSS-background image for a link could be created.

ATagParams.cObject = COA
ATagParams.cObject {
10 = IMG_RESOURCE
10 {
file {
import = uploads/tx_templavoila/
import.current = 1
import.listNum = 0
maxW = 120
}
stdWrap.wrap = style=“background: #fff url(/|) no-repeat 50% 50%;“
}
}
(issue imported from #M1749)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.