Hallo,
Ja, ich habe nach Antworten hierfür gesucht und leider nichts gefunden, was funktioniert bzw. tut, was ich mir wünschen würde. icon_frown.gif
Ich habe eine Javascript eingefügt in eine Website. Der übliche JQuery Content Slider. (siehe http://jquery.andreaseberhard.de/toggleElements/ ). Dieser wurde in die Typo3-Seite eingefüg und ein stdWrap erstellt, der jeden Eintrag aus der Spalte "Normal" in einen Slider packt. Alles wunderbar soweit. Aber: Laut Doku nutzt der Slider
HTML
<div class="toggler-c" title="Example 1">
um einen Slider zu deklarieren und mein wrap sieht folgendermaßen aus:
TYPOSCRIPT
10.marks.CONTENT = COA
10.marks.CONTENT.10 = CONTENT
10.marks.CONTENT.10 {
renderObj.stdWrap.wrap = <div class="toggler-c" title="" >|</div>
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
Das Problem ist nun, dass er alles in den eingeklappten Teil des Togglers schreibt, inklusive der Überschrift. Der sichtbare Teil ist leer. Nun würde ich mir wünschen, dass er den Header des Eintrages als sichtbaren Teil in das " title="" "-Attribut der Deklaration schreibt, aber wie mache ich das? Ich kann ja keinen verschachtelten wrap schreiben oder sowas. Hat irgendjemand hier Vorschläge? Ich bin für jede Hilfe dankbar!
Mit freundlichen Grüßen,
Halest
------------------------------------------------------
Hello,
YES, I have been looking for answers and couldn't find anything that worked or did what I wanted it to do. Neither in German nor in English, so this is my last resort:
I included a Javascript on the site I am programming. The usual JQuery Content Slider. ( http://jquery.andreaseberhard.de/toggleElements/ ). I included it into a Typo3 Site. I created a stdWrap so that each entry in the column "Normal" ends up in one of the sliders. All very nice so far.
The Documentation says it uses:
HTML
<div class="toggler-c" title="Example 1">
to declare each toggler. My wrap looks like this:
TYPOSCRIPT
10.marks.CONTENT = COA
10.marks.CONTENT.10 = CONTENT
10.marks.CONTENT.10 {
renderObj.stdWrap.wrap = <div class="toggler-c" title="" >|</div>
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
The Problem is that this will write everything including the header of the entry into the toggler and doesnt use the header as the visible title. I dont know how to grab the Header of the content element to write it into the "title"-attibute of the wrap.
Thank you very much for your suggestions!
Halest
Ja, ich habe nach Antworten hierfür gesucht und leider nichts gefunden, was funktioniert bzw. tut, was ich mir wünschen würde. icon_frown.gif
Ich habe eine Javascript eingefügt in eine Website. Der übliche JQuery Content Slider. (siehe http://jquery.andreaseberhard.de/toggleElements/ ). Dieser wurde in die Typo3-Seite eingefüg und ein stdWrap erstellt, der jeden Eintrag aus der Spalte "Normal" in einen Slider packt. Alles wunderbar soweit. Aber: Laut Doku nutzt der Slider
HTML
<div class="toggler-c" title="Example 1">
um einen Slider zu deklarieren und mein wrap sieht folgendermaßen aus:
TYPOSCRIPT
10.marks.CONTENT = COA
10.marks.CONTENT.10 = CONTENT
10.marks.CONTENT.10 {
renderObj.stdWrap.wrap = <div class="toggler-c" title="" >|</div>
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
Das Problem ist nun, dass er alles in den eingeklappten Teil des Togglers schreibt, inklusive der Überschrift. Der sichtbare Teil ist leer. Nun würde ich mir wünschen, dass er den Header des Eintrages als sichtbaren Teil in das " title="" "-Attribut der Deklaration schreibt, aber wie mache ich das? Ich kann ja keinen verschachtelten wrap schreiben oder sowas. Hat irgendjemand hier Vorschläge? Ich bin für jede Hilfe dankbar!
Mit freundlichen Grüßen,
Halest
------------------------------------------------------
Hello,
YES, I have been looking for answers and couldn't find anything that worked or did what I wanted it to do. Neither in German nor in English, so this is my last resort:
I included a Javascript on the site I am programming. The usual JQuery Content Slider. ( http://jquery.andreaseberhard.de/toggleElements/ ). I included it into a Typo3 Site. I created a stdWrap so that each entry in the column "Normal" ends up in one of the sliders. All very nice so far.
The Documentation says it uses:
HTML
<div class="toggler-c" title="Example 1">
to declare each toggler. My wrap looks like this:
TYPOSCRIPT
10.marks.CONTENT = COA
10.marks.CONTENT.10 = CONTENT
10.marks.CONTENT.10 {
renderObj.stdWrap.wrap = <div class="toggler-c" title="" >|</div>
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
The Problem is that this will write everything including the header of the entry into the toggler and doesnt use the header as the visible title. I dont know how to grab the Header of the content element to write it into the "title"-attibute of the wrap.
Thank you very much for your suggestions!
Halest





