[TYPO3-german] Javascript-Anweisung für Suchformularfeld angeben
Tomas Jakober
typo3ug at je-net.ch
Mon Apr 10 19:36:03 CEST 2006
Tomas Jakober wrote:
> Hi
>
> Wie kann ich eine Javascript-Anweisung für ein Suchformularfeld übergeben.
>
> Danke
>
> Tomas
Habs herausgefunden:
# Das Suchformular anpassen
tt_content.search.30 {
target = _self
redirect = 36
badMess = Bitte geben Sie ein Suchwort an!
layout = ###FIELD###
params.input = onfocus="this.value=''" onblur="if (this.value=='')
this.value='Suchbegriff'"
dataArray.10 {
type = *sword = input, 15, 30
value = Suchbegriff
}
dataArray.20 {
valueArray >
type = scols = hidden
value =
pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
}
image = IMAGE
image.file = GIFBUILDER
image.file {
XY = 20,20
backColor = #c1383d
10 = TEXT
10.text = »
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontColor = #ffffff
10.fontSize = 20
10.niceText = 1
10.offset = 3, 17
}
}
More information about the TYPO3-german
mailing list