The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
EDIT: This doesn't work all the way, the "onchange" event doesn't fire correctly. Sorry about that. I think it needs some bit of the desktop javascript... hmm
[S]Since this bit of code uses a form, you need to include the entire section (although you can leave out the language bit if you want) This is what it looks like in a default theme: Code:
<form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select"> <vb:if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup> <vb:if condition="$quickchooserbits1"> <vb:if condition="$quickchooserbits2"> <optgroup label=" {vb:rawphrase standard_styles}"> </vb:if> {vb:raw quickchooserbits1} <vb:if condition="$quickchooserbits2"> </optgroup> </vb:if> </vb:if> <vb:if condition="$quickchooserbits2"> <vb:if condition="$quickchooserbits1"> <optgroup label=" {vb:rawphrase mobile_styles}"> </vb:if> {vb:raw quickchooserbits2} <vb:if condition="$quickchooserbits1"> </optgroup> </vb:if> </vb:if> </select> </vb:if> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> </form> g'luck.[/S] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|