[Bf-webcontent] What's up?
Bart Veldhuizen
bart at vrotvrot.com
Tue Mar 1 21:58:45 CET 2005
It only works insite the TMENU items (the .NO and .ACT). Here's the
code I use right now; maybe you can see how we can improve it. I had to
pull some tricks to actually write out the field:uid in the id of the
lists. that's why I use the before and after properties:
tmp.xhtml_menu = HMENU
tmp.xhtml_menu {
entryLevel = 0
wrap (
<ul id="top_nav">
|
</ul>
)
1 = TMENU
1 {
expAll=1
noBlur=1
NO {
wrapItemAndSub = |</li>
doNotShowLink = 1
# generate an li with this sections UID in its ID
before.cObject = TEXT
before.cObject.field = uid
before.cObject.dataWrap = <li id="topnav_{field:uid}"
style="background-image: none;"><a href="{field:title}.|.0.html"><span
class="ctr"> || <li id="topnav_{field:uid}"><a
href="{field:title}.|.0.html"><span class="ctr">
after.cObject = TEXT
after.cObject.field = title//nav_title
after.cObject.wrap = | </span></a>
}
}
2 = TMENU
2 {
wrap = <ul>|</ul>
#|| <ul style="margin-left: -72px;">|</ul>
#expAll=1
noBlur=1
NO.allWrap = <li>|</li>
}
}
Op 1-mrt-05 om 21:44 heeft Bart het volgende geschreven:
>
> Hello B at rt,
>
> stupid me, will check the archive about what's happening. About the
> option split in Typo3 here is an example:
>
> marks._MENU = HMENU
> marks._MENU {
> entryLevel = 0
> 1.wrap = |
> 1 = TMENU
> 1.NO.linkWrap = <th width="98" align="center" id="hmenu">|</th> ||
> <th width="98" align="center" id="hmenu">|</th> ||
> </th><th width="128" align="center" id="hmenu">|</th> ||
> <th width="98" align="center" id="hmenu">|</th>
> 1.ACT = 1
> 1.ACT.linkWrap = ...
> }
>
> That means the first two th are 98ox the third is 128px and any
> following th is 98px again.
>
> Does option switch not working overall or just not with ATagParams
> only?
>
> Here is an example of ATagParams:
>
> marks._SMENU {
> entryLevel = 3
> 1.wrap = |
> 1 = TMENU
> 1.NO.linkWrap =<img src="fileadmin/img/blank.gif" height="1">|
> 1.ACT = 1
> 1.ACT.ATagParams = class=auswahl
> 1.ACT.linkWrap =<img src="fileadmin/img/blank.gif" height="1">|
> }
>
> --
> |\/\/\/|
> | |
> | (O)(O) Aeggy.
> C _) bart at neeneenee.de
> | ,_/
> | / - Ich bin nicht berechtigt Aushilfslehrer zu feuern -
> / \
> http://www.neeneenee.de
> _______________________________________________
> Bf-webcontent mailing list
> Bf-webcontent at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-webcontent
More information about the Bf-webcontent
mailing list