![]() |
|
|
Mod Options |
Style Switcher like on vB.org Details »»
|
|||||||||||||||||
I've written a simple JS function that can be used if you want to implement a style selector like on vB.org (using colored icons instead of a dropdown).
Simply add this to vbulletin_global.js, or include it in your footer template:
Then, you'd use something like this in your footer template:
This will then switch your style to an ID of your choice (9 in the example above). You will have to have separate styles for each color you want to switch between. Hope someone will find this useful! Enjoy! Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: DePReM11
|
|||||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Easy Style Color switcher | chennairam | vBulletin 3.8 Add-ons | 67 | 10 Sep 2012 20:17 |
| Style Bnat Syria way Sheet Switcher | Syria BoY | vBulletin 3.7 Styles | 17 | 11 Mar 2008 01:58 |
| Comments |
|
#2
|
||||
|
||||
|
thank
__________________
موقعي الشخصي : منتديات الوداد No members have liked this post.
|
|
#3
|
||||
|
||||
|
and what happens with styles that are only viewable by admins ?
No members have liked this post.
|
|
#4
|
|||
|
|||
|
you can give some screenshots ?
No members have liked this post.
|
|
#5
|
|||
|
|||
|
Nothing would happen- the style wouldn't be selected. You obviously don't want to be creating icons for styles that aren't public.
You can view a demo here on vB.org - just try the style switcher. My implementation is the same, except that it's JS-powered. No members have liked this post.
|
|
#6
|
||||
|
||||
|
Gonna try this in vb4.1.4
No members have liked this post.
|
|
#7
|
||||
|
||||
|
Hmm. Doesn't work.
No members have liked this post.
|
|
#8
|
||||
|
||||
|
__________________
![]() Posting for support? Read THIS first Do NOT PM me unless I asked you to. Your PM will be deleted and ignored! Do NOT IM me unless I asked you to. You will be added to my ignore list! Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!” No members have liked this post.
|
|
#9
|
||||
|
||||
|
No members have liked this post.
|
|
#10
|
||||
|
||||
|
I don't believe so.....not at the moment anyway.....
__________________
![]() Posting for support? Read THIS first Do NOT PM me unless I asked you to. Your PM will be deleted and ignored! Do NOT IM me unless I asked you to. You will be added to my ignore list! Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!” No members have liked this post.
|
|
#11
|
||||
|
||||
|
I'll PM MoMan then.
No members have liked this post.
|
|
#12
|
|||
|
|||
|
screenshots please
No members have liked this post.
|
|
#13
|
||||
|
||||
|
Scroll down to the bottom of the page. Do you see the style switcher? That's what it looks like.
No members have liked this post.
|
|
#14
|
||||
|
||||
|
It works in vb4. He just gave bad directions, that's all.
Put this javascript in your headinclude or footer.
No members have liked this post.
|
||||
|
#15
|
||||
|
||||
|
Same code but compressed to reduce page load time.
No members have liked this post.
|
||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 09:04.







