Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| typo3:sk_fancybox [2014/08/26 22:14] – admin | typo3:sk_fancybox [2014/09/26 21:27] (aktuell) – [FancyBox im Shop System (tt_products)] admin | ||
|---|---|---|---|
| Zeile 22: | Zeile 22: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| ===== FancyBox im News System (news) ===== | ===== FancyBox im News System (news) ===== | ||
| Zeile 38: | Zeile 40: | ||
| < | < | ||
| <a class=" | <a class=" | ||
| - | <f:image src=" | + | |
| </a> | </a> | ||
| | | ||
| [...] | [...] | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== FancyBox im Shop System (tt_products) ===== | ||
| + | |||
| + | Grundsätzlich kein Problem, außer es werden Inhalte dynamisch mit AJAX nachgeladen, | ||
| + | |||
| + | **Lösung: | ||
| + | - jQuery 1.7.x verwenden | ||
| + | - TypoScript: '' | ||
| + | - Ergänzendes JavaScript einbinden | ||
| + | |||
| + | **TypoScript: | ||
| + | <code typoscript> | ||
| + | plugin.tt_products.image.imageLinkWrap = 1 | ||
| + | plugin.tt_products.image.imageLinkWrap { | ||
| + | enable = 1 | ||
| + | typolink { | ||
| + | parameter.override.cObject = IMG_RESOURCE | ||
| + | parameter.override.cObject { | ||
| + | file.import.data = TSFE: | ||
| + | file.maxH = 850 | ||
| + | file.maxW = 650 | ||
| + | } | ||
| + | # tabindex=" | ||
| + | ATagParams = tabindex=" | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | **Javascript: | ||
| + | <code javascript> | ||
| + | $(" | ||
| + | | ||
| + | // fancybox API options here | ||
| + | ' | ||
| + | }); // fancybox | ||
| + | }); // on | ||
| + | </ | ||
| + | |||
| + | Quelle: [[http:// | ||