Hi all,

I have a graphical header setup like this:

10 = IMAGE
10.file = GIFBUILDER
10.file {
XY = 198,32
        5 = IMAGE
        5.file = images/bg.png
        10 = TEXT
        10.text.current = 1
        10.fontColor = #FFFFFF
        10.fontFile =  t3lib/fonts/vera.ttf
        10.niceText = 1
        10.offset = 13,23
        10.fontSize = 20
        20 = EFFECT
        20.value = rotate=270
}

However, I want to be able to suffix the resulting HTML IMG tag with the 
text of the header, wrapped in a span. The current output is something like:

<h2><img [...attrs...] /></h2>

But I'd like a result something like:

<h2><img [...attrs...] /><span>Header Title</span></h2>

So that in my "screen" stylesheet, I can set the span to "display : 
none", but in my "print" stylesheet, I can set the image tag to "display 
: none". That way, the header will be normal text, not a "vertical" 
image that doesn't look good when it's printed.

I was hoping that a simple addition might work, but no dice:

10 = IMAGE
10.stdWrap.append = TEXT
10.stdWrap.append.value = <span>|</span>
10.file = GIFBUILDER

It just results in output HTML like this:

<h2></h2>

Is there a solution for this? I hope someone can help!



//Plankmeister
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to