Rating: 3.8 of 5. 5 vote(s).
Click the rating bar to rate this item.
tempJumpNav=HMENUtempJumpNav{special=directory # id of root page where the menu startsspecial.value=31=JSMENU1.target=_top1.firstLabelGeneral=quickjump to snip}
Hello, here's a more accurate version
temp.jumpto = HMENU
temp.jumpto {
1 = JSMENU
1 {
levels = 2
#1.target = _blank
1.additionalParams = class="select-level1"
2.additionalParams = class="select-level2"
firstLabelGeneral = sari la...
}
}
i added 2 levels here (levels = 2) which actually creates 2 select boxes, the second changes according to what you select in the first one. then i specified the css style for level 1 (1.additionalParams) and the stylesheet for the second level (2.additionalParams). use the target if you want pages to open in a new window.
By the way, changing styles is easy for any control, without using typoscript setup. For eg, just place your select box marker in a div, for eg: <div id="mydiv">###SELECT###</div> and then use this in the css: #mydiv option {} etc
You can still use the :
special = directory
special.value = 3
part if you want your menu to show only certain pages.
20-Aug-2010 16:31:13 pritam schrieb: Hello,
Can any body tell me how to add the realurl in the typo3. Articles
17-Aug-2010 15:25:30 Graham Solomon schrieb: I have developed a nice extension for using this Google Font API with TYPO3, along with their web... Nice Fonts using Google font API
12-Aug-2010 17:39:44 Ritesh Jaiswal schrieb: I have added the above code into page template but it is not working. It only index the page into... Index search
this is really nice, but do you know how to add a css class to the select box?
greets
nico
I have a HTML template and a DIV to map it to using TemplaVoila.
Thanks!
temp.jumpto = HMENU
temp.jumpto {
1 = JSMENU
1 {
levels = 2
#1.target = _blank
1.additionalParams = class="select-level1"
2.additionalParams = class="select-level2"
firstLabelGeneral = sari la...
}
}
i added 2 levels here (levels = 2) which actually creates 2 select boxes, the second changes according to what you select in the first one. then i specified the css style for level 1 (1.additionalParams) and the stylesheet for the second level (2.additionalParams). use the target if you want pages to open in a new window.
By the way, changing styles is easy for any control, without using typoscript setup. For eg, just place your select box marker in a div, for eg: <div id="mydiv">###SELECT###</div> and then use this in the css: #mydiv option {} etc
You can still use the :
special = directory
special.value = 3
part if you want your menu to show only certain pages.
cheers, radu
Thx,
Silviu
Add comment