mootools & GMENU
| Autor | Nachricht |
|---|---|
|
Verfasst am: 18. 03. 2008 [23:28]
|
|
|
paxoptimusprime
Themenersteller
Dabei seit: 17.12.2006
Beiträge: 100
|
hallo ich will mein GMENU mit rgaccordion2 versehen... ich habe beide ext. installiert. (mootoolsv1.11.js & rgaccordion2.js) mein typoscript sieht so aus TYPOSCRIPT lib.menu = HMENU lib.menu { special = directory special.value = 2 wrap = <div id="rgaccord2-nest">|</div> renderObj < plugin.tx_rgaccordion2 1 = GMENU 1 { expAll = 1 NO { wrap = <h3 class="rgaccord2-toggle">|</h3> backColor = #ffffff XY = 160, 20 10 = TEXT 10 { text.field = title font.Color = #000000 offset = 4,14 fontFile = fileadmin/verdanab.ttf fontSize = 11 } } } 2 = GMENU 2 { wrap = <div class="rgaccord2-content">|</div> expAll = 1 NO { wrap = <div class="ebene2">|</div> backColor = #ffffff XY = 160, 20 10 = TEXT 10 { text.field = title font.Color = #000000 offset = 4,14 fontFile = fileadmin/verdanab.ttf fontSize = 11 } } } } lib.menu2 = HMENU lib.menu2 { special = directory special.value = 9 1 = TMENU 1 { NO { before = after = | |*| | |*| } } } seite = PAGE seite.stylesheet = uploads/tf/main.css seite.includeCSS.file57 = EXT:rgaccordion/res/rgaccordion2.css seite.includeJS.file51 = EXT:t3mootools/res/mootoolsv1.11.js seite.includeJS.file52 = EXT:rgaccordion/res/rgaccordion2.js seite.30 = TEMPLATE seite.30 { template = FILE template.file = uploads/tf/main.tmpl workOnSubpart = DOKUMENT subparts.CONTENT = CONTENT subparts.CONTENT { table = tt_content select.orderBy = sorting select.where = colPos=0 } subparts.NAVI < lib.menu subparts.NAVI2 < lib.menu2 } weiss einer wieso das nicht läuft? habe mit firebug alles durchsucht... komme aber nicht weiter... [url]www.fechten-böblingen.de[/url] |
|
Verfasst am: 19. 03. 2008 [06:51]
|
|
|
just2b
Moderator
Dabei seit: 04.08.2004
Beiträge: 19047
|
das mootools skript hast du aber schon angepasst oder? kannst ja nicht einfach eine beliebige struktur erfinden und hoffen, dass das dann funktioniert georg => TYPO3 - inspiring people to share <= aber kein Support per PM!
=> in eigener Sache: · inspiring people to share your location Trag dich in die TYPO3 Weltkarte ein und zeige wie groß die TYPO3 Community ist - vielen Dank!<= |
|
Verfasst am: 19. 03. 2008 [13:30]
|
|
|
paxoptimusprime
Themenersteller
Dabei seit: 17.12.2006
Beiträge: 100
|
ich habe mir accordion zusammengeklickt |
|
Verfasst am: 19. 03. 2008 [13:31]
|
|
|
just2b
Moderator
Dabei seit: 04.08.2004
Beiträge: 19047
|
aha => TYPO3 - inspiring people to share <= aber kein Support per PM!
=> in eigener Sache: · inspiring people to share your location Trag dich in die TYPO3 Weltkarte ein und zeige wie groß die TYPO3 Community ist - vielen Dank!<= |
|
Verfasst am: 19. 03. 2008 [14:49]
|
|
|
paxoptimusprime
Themenersteller
Dabei seit: 17.12.2006
Beiträge: 100
|
HTML <link rel="stylesheet" type="text/css" href="typo3conf/ext/rgaccordion/res/rgaccordion2.css" /> <script src="typo3conf/ext/t3mootools/res/mootoolsv1.11.js" type="text/javascript"></script> <script src="typo3conf/ext/rgaccordion/res/rgaccordion2.js" type="text/javascript"></script> <script type="text/javascript"> var Page = { initialize: function() { new SmoothScroll({ transition: Fx.Transitions.bounceOut, fps: 60, duration: 1500 }); } } window.addEvent("domready", Page.initialize);</script> <script type="text/javascript"> und die struktur sieht so aus.... HTML <div id="rgaccord2-nest"><h3 class="rgaccord2-toggle"><a href="index.php?id=24" onfocus="blurLink(this);" ><img src="typo3temp/menu/165b905dd9.gif" width="160" height="20" border="0" alt="NEWS" /></a></h3><h3 class="rgaccord2-toggle"><a href="index.php?id=7" onfocus="blurLink(this);" ><img src="typo3temp/menu/d443c98104.gif" width="160" height="20" border="0" alt="EBENE 1 PUNKT 1" /></a></h3><div class="rgaccord2-content"><div class="ebene2"><a href="index.php?id=21" onfocus="blurLink(this);" ><img src="typo3temp/menu/e69d7826b4.gif" width="160" height="20" border="0" alt="EBENE 2 PUNKT 1" /></a></div><div class="ebene2"><a href="index.php?id=23" onfocus="blurLink(this);" ><img src="typo3temp/menu/96808ca9ac.gif" width="160" height="20" border="0" alt="EBENE 2 PUNKT 2" /></a></div></div><h3 class="rgaccord2-toggle"><a href="index.php?id=6" onfocus="blurLink(this);" ><img src="typo3temp/menu/4fe684c89f.gif" width="160" height="20" border="0" alt="EBENE 1 PUNKT 2" /></a></h3><div class="rgaccord2-content"><div class="ebene2"><a href="index.php?id=22" onfocus="blurLink(this);" ><img src="typo3temp/menu/81e7def29e.gif" width="160" height="20" border="0" alt="EBENE 2 PUNKT 3" /></a></div></div><h3 class="rgaccord2-toggle"><a href="index.php?id=5" onfocus="blurLink(this);" ><img src="typo3temp/menu/94d89ab177.gif" width="160" height="20" border="0" alt="EBENE 1 PUNKT 3" /></a></h3><h3 class="rgaccord2-toggle"><a href="index.php?id=4" onfocus="blurLink(this);" ><img src="typo3temp/menu/cfe0386745.gif" width="160" height="20" border="0" alt="EBENE 1 PUNKT 4" /></a></h3></div> </div> bzw initioalisiert wurde es... das script iss auch drin... und die struktur mit klassenvergabe in htmlcode stimmt auch... [Dieser Beitrag wurde 1mal bearbeitet, zuletzt am 19.03.2008 um 14:51.] |
|
Verfasst am: 19. 03. 2008 [15:40]
|
|
|
paxoptimusprime
Themenersteller
Dabei seit: 17.12.2006
Beiträge: 100
|
TYPOSCRIPT renderObj < plugin.tx_rgaccordion2[Dieser Beitrag wurde 1mal bearbeitet, zuletzt am 19.03.2008 um 15:40.] |
|
Verfasst am: 19. 03. 2008 [17:14]
|
|
|
paxoptimusprime
Themenersteller
Dabei seit: 17.12.2006
Beiträge: 100
|
kann mir da keiner helfen? |



