Discussion:
[TYPO3]Problem in horizontal menu appearance
Reena
2005-03-05 08:41:38 UTC
Permalink
Hi All,

I want to create a horizontal menu this way:

home | about us | contact us

and i am using the following typo script:
------------------------------------------
temp.topnavi = HMENU
#temp.topnavi.maxItems =
temp.topnavi.wrap = <table border=0 width=780 align=center>
<tr>|</tr></table>
temp.topnavi.1 = TMENU
temp.topnavi.1{
expAll = 0
NO.ATagTitle.field = title
NO.allWrap = <td class="topnavi_no" > |<td width="1px"
bgcolor="#000000"></td></td>
ACT = 0
ACT.allWrap = <td valign="top" class="topnavi_act" ><a href=#>Home</a>
&nbsp;</td>
ACT.ATagTitle.field = title
}

---------------------------------------------------

But I am getting the menu this way:



home | about us | contact us |

1. I don't know how to remove the last vertical line after contact us.
2. And this line appears to be much broader even after setting the td width
to 1 px.
3. I have brought this line using td.


Could anybody suggest me some ways of getting this.


Thank You,

Warm Regards,
Reena Chandel,
Srijan Technologies Pvt. Ltd,
India
Bart Veldhuizen
2005-03-05 15:45:04 UTC
Permalink
Hi Reena,

please have a look at optionSplit; by applying this to the NO and ACT
properties of your menu you can control how different items behave:

http://typo3.org/documentation/document-library/doc_core_tsref/
optionSplit-1/

Cheers,

Bart
Post by Reena
Hi All,
home | about us | contact us
------------------------------------------
temp.topnavi = HMENU
#temp.topnavi.maxItems =
temp.topnavi.wrap = <table border=0 width=780 align=center>
<tr>|</tr></table>
temp.topnavi.1 = TMENU
temp.topnavi.1{
expAll = 0
NO.ATagTitle.field = title
NO.allWrap = <td class="topnavi_no" > |<td width="1px"
bgcolor="#000000"></td></td>
ACT = 0
ACT.allWrap = <td valign="top" class="topnavi_act" ><a
href=#>Home</a> &nbsp;</td>
ACT.ATagTitle.field = title
}
---------------------------------------------------
home | about us | contact us |
1. I don't know how to remove the last vertical line after contact us.
2. And this line appears to be much broader even after setting the td
width to 1 px.
3. I have brought this line using td.
Could anybody suggest me some ways of getting this.
Thank You,
Warm Regards,
Reena Chandel,
Srijan Technologies Pvt. Ltd,
India
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Mark Gillingham
2005-03-05 16:20:57 UTC
Permalink
I think you want to do something like what was suggested in another
thread (jakob.brynte at telecraft.se):

news://lists.netfielders.de:119/mailman.1.1109792223.6477.typo3-english at lists.netfielders.de


1.ACT = 1
1.ACT{
ATagParams = class="first" |*| class="in_between" |*| class="last"
style="margin-bottom:0px;"
}

Loading...