Salut cum as putea sa adaug si eu butoane de imi place si nu imi place cv in gen cum aveti pe forum mie imi apare cu un plus si minus
Mr.franta a scris:Ionutz,ce versiune de forum folosesti?
Cod:
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
Cod:
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall" width="120px">
<!-- BEGIN switch_vote -->
<div class="vote-button" ><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><div class="like">Imi place!</div></a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;">
</div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><div class="notlike">Nu imi place!</div></a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
Cod:
.vote {
width: 110px!important;
color: white!important;
text-shadow: 0px 0px 3px black;
padding: 5px;
text-align: center;
border: none!important;
}
.like{
color: white!important;
text-shadow: 0px 0px 3px black;
background: url(http://i32.servimg.com/u/f32/14/52/34/74/nav10.png) repeat-x;
border: 1px solid #153D6B;
box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset;
padding: 2px;
border-radius: 3px;}
.vote-button a{
color: white!important;}
.notlike{
background: red;
border: 1px solid darkred;
box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset;
padding: 2px;
color: white!important;
border-radius: 3px;
text-shadow: 0px 0px 3px black;}
Cod:
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
Cod:
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
Cod:
<img src="link imagine"></img>