MdL
Rank: Administrator Mesaje : 2756
Membru din : 23/11/2011
Nick CS : nDyc3 #-
Mulţumiri : 130 | Subiect: Chenar legenda pentru toate variantele (PhBB2-3,PunBB,Invision) Mar Dec 18, 2012 5:32 pm |
|
| Pentru phpbb2 cautati in index_body - Cod:
-
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td> si inlocuiti cu acesta - Cod:
-
<td class="row1 legend"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td> acum adaugati acest java script - Cod:
-
$(function() {
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() { var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
}); }); acum adaugati in css - Cod:
-
.legend{font-style: normal;}
.legend a.group{ font-family: arial; opacity: 0.6; -moz-opacity: 0.6; -khtml-opacity: 0.6; -ms-filter: "alpha(opacity=60)"; filter:alpha(opacity=60); color: white !important; text-shadow: 0 0 3px black;}
.legend span{ margin: 0 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; padding: 4px 8px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-bottom: 1px solid white; border-right: 1px solid white;} javascript phpbb3 - Cod:
-
$(function() {
$("em").html($("em").html().split("[").join(""));
$("em").html($("em").html().split("]").join(""));
jQuery('em a').each(function() { var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
}); }); css phpbb3 - Cod:
-
em{font-style: normal;}
em a.group{ font-family: arial; opacity: 0.6; -moz-opacity: 0.6; -khtml-opacity: 0.6; -ms-filter: "alpha(opacity=60)"; filter:alpha(opacity=60); color: white !important; text-shadow: 0 0 3px black;}
em span{ margin: 0 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; padding: 4px 8px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-bottom: 1px solid white; border-right: 1px solid white;}
pentru punbb cautati in index_body - Cod:
-
<p>{LEGEND} : {GROUP_LEGEND}</p> si inlocuiti cu - Cod:
-
<p class="legend">{LEGEND} : {GROUP_LEGEND}</p> javascipt punbb - Cod:
-
$(function() {
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() { var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
}); }); css punbb - Cod:
-
.legend{font-style: normal;}
.legend a.group{ font-family: arial; opacity: 0.6; -moz-opacity: 0.6; -khtml-opacity: 0.6; -ms-filter: "alpha(opacity=60)"; filter:alpha(opacity=60); color: white !important; text-shadow: 0 0 3px black;}
.legend span{ margin: 0 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; padding: 4px 8px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-bottom: 1px solid white; border-right: 1px solid white;} pentru invision javascript - Cod:
-
$(function() {
$('.thin').next().addClass('legend');
$(".legend").html($(".legend").html().split("[").join(" "));
$(".legend").html($(".legend").html().split("]").join(" "));
jQuery('.legend a').each(function() { var color = $(this).css("color");
$(this).wrap("<span style='background-color:" + color + ";'/>");
$(this).addClass('group');
}); }); si css invision - Cod:
-
.legend{font-style: normal;}
.legend a.group{ font-family: arial; opacity: 0.6; -moz-opacity: 0.6; -khtml-opacity: 0.6; -ms-filter: "alpha(opacity=60)"; filter:alpha(opacity=60); color: white !important; text-shadow: 0 0 3px black;}
.legend span{ margin: 0 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) inset; padding: 4px 8px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-bottom: 1px solid white; border-right: 1px solid white;} Sper ca acest tutorial sa va ajute |
|
boyka
Rank: Membru Mesaje : 145
Membru din : 24/11/2012
Mulţumiri : 12 | Subiect: Re: Chenar legenda pentru toate variantele (PhBB2-3,PunBB,Invision) Mar Dec 18, 2012 8:24 pm |
|
| |
|