ahmedmath
24/12/2009, 04h18
dans mon ancien forum j'ai utilisé se code la pour ajouter des couleurs défferent a mon style (voire photo)
11634
11635
Mais malheuresment ce truc la ne marche pas avec VB 4
Est c'est qu'il ya quelqu'un qui peut m'aider a faire fonctionner ce code la sur VB 4!!!!
voila le Tuto que j'ai utiliser pour la version VB 3.8.X est elle marche trés biennn
using java script colorchooser.js
Description: This is a "plug & play" style sheet switcher that lets your visitors switch between a list of alternative style sheets to apply to your forum. With a change of style sheet the entire look of your site can be transformed. Persistent cookies are used to store the user's selection and automatically recall that style sheet upon his return.
.
This is Work perfectly vbulletin default Style
if you Want More Change just edit made a CSS Code for like
Easy Style Color switcher Installation method
Styles & Templates > Style Manager > Main CSS > Scroll to the bottom and paste it in the second text area.
Add the following css code
#topbar {
height: 32px;
background: #CCCCCC;
}
.colorchooser {
float:right;
margin-right:10px;
margin-top:10px;
}
.colorchooser span {
font-family:arial;
color:#FFFFFF;
font-size:10px;
text-decoration:none;
float:left;
display:block;
}
.colorchooser a {
width:10px;
height:10px;
display:block;
float:left;
margin-left:5px
}
Styles & Templates > Search in template > Find > header
Add the following code first
<link rel="alternate stylesheet" type="text/css" title="orange-theme" href="orange.css" />
<link rel="alternate stylesheet" type="text/css" title="violet-theme" href="violet.css" />
<link rel="alternate stylesheet" type="text/css" title="red-theme" href="red.css" />
<link rel="alternate stylesheet" type="text/css" title="grey-theme" href="grey.css" />
<link rel="alternate stylesheet" type="text/css" title="black-theme" href="black.css" />
<link rel="alternate stylesheet" type="text/css" title="pinkish-theme" href="pinkish.css" />
<script src="colorchooser.js" type="text/javascript"></script>
<div id="topbar">
<div class="colorchooser"> <span>Choose your color scheme: </span>
<a href="javascript:ChennaigsmStyle('none')" style="background-color:#5A0000;"></a>
<a href="javascript:ChennaigsmStyle('orange-theme')" style="background-color:#FF9900;"></a>
<a href="javascript:ChennaigsmStyle('violet-theme')" style="background-color:#003366;"></a>
<a href="javascript:ChennaigsmStyle('red-theme')" style="background-color:#990000;"></a>
<a href="javascript:ChennaigsmStyle('grey-theme')" style="background-color:#999999;"></a>
<a href="javascript:ChennaigsmStyle('black-theme')" style="background-color:#000000;"></a>
<a href="javascript:ChennaigsmStyle('pinkish-theme')" style="background-color:#B26267;"></a> </div>
</div>
et voila la piece jointe (les style)
11636
Source :http://www.sharemafia.com/vbulletin/15592-easy-style-color-switcher-like-vb-org.html
merci d'avance!!!!!!!!!!!
11634
11635
Mais malheuresment ce truc la ne marche pas avec VB 4
Est c'est qu'il ya quelqu'un qui peut m'aider a faire fonctionner ce code la sur VB 4!!!!
voila le Tuto que j'ai utiliser pour la version VB 3.8.X est elle marche trés biennn
using java script colorchooser.js
Description: This is a "plug & play" style sheet switcher that lets your visitors switch between a list of alternative style sheets to apply to your forum. With a change of style sheet the entire look of your site can be transformed. Persistent cookies are used to store the user's selection and automatically recall that style sheet upon his return.
.
This is Work perfectly vbulletin default Style
if you Want More Change just edit made a CSS Code for like
Easy Style Color switcher Installation method
Styles & Templates > Style Manager > Main CSS > Scroll to the bottom and paste it in the second text area.
Add the following css code
#topbar {
height: 32px;
background: #CCCCCC;
}
.colorchooser {
float:right;
margin-right:10px;
margin-top:10px;
}
.colorchooser span {
font-family:arial;
color:#FFFFFF;
font-size:10px;
text-decoration:none;
float:left;
display:block;
}
.colorchooser a {
width:10px;
height:10px;
display:block;
float:left;
margin-left:5px
}
Styles & Templates > Search in template > Find > header
Add the following code first
<link rel="alternate stylesheet" type="text/css" title="orange-theme" href="orange.css" />
<link rel="alternate stylesheet" type="text/css" title="violet-theme" href="violet.css" />
<link rel="alternate stylesheet" type="text/css" title="red-theme" href="red.css" />
<link rel="alternate stylesheet" type="text/css" title="grey-theme" href="grey.css" />
<link rel="alternate stylesheet" type="text/css" title="black-theme" href="black.css" />
<link rel="alternate stylesheet" type="text/css" title="pinkish-theme" href="pinkish.css" />
<script src="colorchooser.js" type="text/javascript"></script>
<div id="topbar">
<div class="colorchooser"> <span>Choose your color scheme: </span>
<a href="javascript:ChennaigsmStyle('none')" style="background-color:#5A0000;"></a>
<a href="javascript:ChennaigsmStyle('orange-theme')" style="background-color:#FF9900;"></a>
<a href="javascript:ChennaigsmStyle('violet-theme')" style="background-color:#003366;"></a>
<a href="javascript:ChennaigsmStyle('red-theme')" style="background-color:#990000;"></a>
<a href="javascript:ChennaigsmStyle('grey-theme')" style="background-color:#999999;"></a>
<a href="javascript:ChennaigsmStyle('black-theme')" style="background-color:#000000;"></a>
<a href="javascript:ChennaigsmStyle('pinkish-theme')" style="background-color:#B26267;"></a> </div>
</div>
et voila la piece jointe (les style)
11636
Source :http://www.sharemafia.com/vbulletin/15592-easy-style-color-switcher-like-vb-org.html
merci d'avance!!!!!!!!!!!