[TYPO3] allWrap media field
Francois Suter
fsuter at cobweb.ch
Sat Nov 17 18:00:57 CET 2007
Hi again,
I think I did a small error in my script. I think it should rather be:
obj.header = TEXT
obj.header {
data = levelmedia : -1 , slide
split {
token = ,
cObjNum = 1
1 {
10 = TEXT
10 {
value.current = 1
wrap (
<script type="text/javascript">
window.onload = function() {
myShow = new Slideshow('slideshow', { type: 'fade', duration:
[2000,4000], width: 500, height: 227, images: [|], hu: 'uploads/
media/' });
}
</script>
)
}
}
}
}
Not tested, but it should put you on the right track anyway.
Hopefully :-)
Cheers
More information about the TYPO3-english
mailing list