![]() |
Switch Styles Option Box
1 Attachment(s)
This is a box I put in the header of my site to change forum skins.
You can use it anywhere though. https://vborg.vbsupport.ru/external/2011/07/104.jpg Get HTML color codes from this site: http://html-color-codes.info/ This is my regular forum link: http://the8thlegion.com/forum.php This is my forum link after switching to the next style: http://the8thlegion.com/forum.php?styleid=185 For this line of the code, make the style ID number match your skin. Code:
<option value="185">Black</option> Write the style name where it is in blue. The code in red is where you change the color inside the box. Code:
<form action="forum.php" method="get" id="footer_select"><select style="background-color:#e9e9e9;" name="styleid" onchange="switch_id(this, 'style')"><optgroup> |
thanks
|
Your welcome. Funny thing is, it's right there at the top and most members still don't see it.
smh |
This is great! Thank you so much.
Can it perhaps be put to the left of the search field? (On navbar) Will it work there, by just inserting your code there? Or would I need to do something else to get it working there? Thanks for the help! |
Quote:
AdminCP/Styles and Templates/ Style Manager / Edit Templates / Navigation and Breadcrumb Templates / navbar Search for: Code:
{vb:raw template_hook.navtab_end} |
Quote:
|
One more question please. How can I add a field, like a category in the list? I want to add 2 categories. One saying 'Dark Skins' followed by all my dark skins, and 1 saying 'Light Skins' followed by all my light skins. Is that perhaps possible?
Thanks for the help! |
I dunno^
Style Switcher like vb.org https://vborg.vbsupport.ru/external/2011/07/45.jpg https://vborg.vbsupport.ru/showthread.php?t=249919 Put this code at the bottom of your headinclude: https://vborg.vbsupport.ru/showpost....1&postcount=15 Then use the HTML code provided in MoMan's first post. Just copy-n-paste the whole code and put it underneath to add more styles. |
this will be nice for multiple languages. Can that be done just by changing the phrases?
|
I dunno bout that. I will show you how to change the size of the option box when I'm not busy.
|
All times are GMT. The time now is 12:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|