[TYPO3-english] jsmenu
Rupali Gupta
rupali.ffm at googlemail.com
Tue Oct 28 10:06:43 CET 2008
Thx Piet, but with ur code you are providind a div with id=first and select
with class =red
what i am trying is <select id = "myselect">......</select>
this is basic code i m using:
lib.sub_menu_rathaus= HMENU
lib.sub_menu_rathaus.special = directory
lib.sub_menu_rathaus{
special.value = 44
1=JSMENU
1.menuName=rathaus
1.target=_top
1.firstLabelGeneral = Quicklinks
}
which provides me following output:
<div id="sub_menu_rathaus">
<form name="rathausForm" style="margin: 0pt;" method="post" action="">
<select onchange="rathaus.act(1);" name="selector1">
<option value="0">Quicklinks</option>
<option value="1">Stellenangebote der Stadt</option>
<option value="2">Presse</option>
<option value="3">Amtliche Bekanntmachungen</option>
.
.
.
.
</select>
</form>
how should i modify my TS so that i get:
<select onchange="rathaus.act(1);" name="selector1" id = "myselect">
2008/10/28 piet roorda <pietroorda at gmail.com>
> certainly, no problem, pleasure all mine...
>
> On Mon, Oct 27, 2008 at 9:43 PM, piet roorda <pietroorda at gmail.com> wrote:
> > sorry you mean the select:here 2 level jsmenu with on the first level a
> > class="red" so you can style it to your likings:
> >
> > temp.jsmenu = HMENU
> > entryLevel = 0
> > temp.jsmenu.1 = JSMENU
> > temp.jsmenu.1 {
> > levels = 2
> > 1 {
> > wrap = <div id="first>|</div>
> > showActive = 1
> > #beware of the space after the first "equal to"
> > additionalParams = class="red"
> > }
> > 2 {
> > wrap = <div id="second">|</div>
> > showActive = 1
> > }
> > }
> > # Insert on page.
> > page = PAGE
> > page.typeNum =0
> > page.5 = TEXT
> > page.5.field = title
> > page.10 < temp.jsmenu
> >
> > cheers,
> > piet
> >
> > On Mon, Oct 27, 2008 at 9:21 PM, piet roorda <pietroorda at gmail.com>
> wrote:
> >
> >> ok you're aiming at div level or at select or what?piet
> >>
> >> On Mon, Oct 27, 2008 at 9:14 PM, Rupali Gupta <
> rupali.ffm at googlemail.com
> >> >wrote:
> >>
> >> > additionalParams =class=someclass
> >> > like this is it possible :
> >> > additionalParams = id=myselect
> >> >
> >> > want to provide 1 id for select so that i can customise it.
> >> >
> >> >
> >> > On 27/10/2008, piet roorda <pietroorda at gmail.com> wrote:
> >> > >
> >> > > what additional parameters did you have in mind,piet
> >> > >
> >> > > On Mon, Oct 27, 2008 at 4:56 PM, Rupali Gupta <
> >> rupali.ffm at googlemail.com
> >> > > >wrote:
> >> > >
> >> > > > with additionalParams its not working, any suggestion?
> >> > > >
> >> > > > 2008/10/27 Rupali Gupta <rupali.ffm at googlemail.com>
> >> > > >
> >> > > > > Hello List,
> >> > > > >
> >> > > > > how can i provide my jsmenu an id eg:
> >> > > > >
> >> > > > > how to give jsmenu an id eg.
> >> > > > >
> >> > > > > lib.sub_menu_lebensraum = HMENU
> >> > > > > lib.sub_menu_lebensraum.special = directory
> >> > > > > lib.sub_menu_lebensraum {
> >> > > > > special.value = 40
> >> > > > > 1=JSMENU
> >> > > > >
> >> > > > > #1.id=myselect
> >> > > > > or 1.wrap = <select id="myselectmenu">|</select>
> >> > > > >
> >> > > > > 1.menuName=lebensraum
> >> > > > > 1.firstLabelGeneral = Quicklinks
> >> > > > > }
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > > Regards,
> >> > > > > Rupali
> >> > > > > _______________________________________________
> >> > > > > TYPO3-english mailing list
> >> > > > > TYPO3-english at lists.netfielders.de
> >> > > > >
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Regards,
> >> > > > Rupali
> >> > > > _______________________________________________
> >> > > > TYPO3-english mailing list
> >> > > > TYPO3-english at lists.netfielders.de
> >> > > >
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> > > >
> >> > > _______________________________________________
> >> > > TYPO3-english mailing list
> >> > > TYPO3-english at lists.netfielders.de
> >> > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Regards,
> >> > Rupali
> >> > _______________________________________________
> >> > TYPO3-english mailing list
> >> > TYPO3-english at lists.netfielders.de
> >> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> >
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.netfielders.de
> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >>
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
--
Regards,
Rupali
More information about the TYPO3-english
mailing list