MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
  • Pagina 1 din 1
  • 1
Aspect.v4
Devil Date: Luni, 2011-05-16, 16:23 | Message # 1
Mesaje: 425
Awards: 15
« 29 »

Instalare:
In "CSS" adaugati :
Code
/*Poll*/
.answer { padding-top: 5px }
.answer div div {
  height: 10px !important;
  border: 1px solid #5C9425;
}
.answer div {
  padding: 0 !important;
  -moz-border-radius: 4px 4px 4px 4px;
  -moz-box-shadow: 0 1px 0 #FFFFFF;
  background: -moz-linear-gradient(center top , #CCCCCC, #E9E9E9) repeat scroll 0 0 transparent;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CCC), to(#E9E9E9));
  border: 1px solid #CCCCCC;
  display: block;
  margin: 0px 0;
  position: relative;
  border-radius: 3px;

}
/*End-Poll*/

Iar la sfarsit in type of polling form adaugati :

Code
<script type="text/javascript">
var a = ['http://devil-scripts.do.am/maxrom/images/poll/poll1.gif','http://devil-scripts.do.am/maxrom/images/poll/poll1.gif','http://devil-scripts.do.am/maxrom/images/poll/poll3.gif','http://devil-scripts.do.am/maxrom/images/poll/poll4.gif','http://devil-scripts.do.am/maxrom/images/poll/poll5.gif'];
for(var i = 0; i < a.length; i++){
  $('div.answer div div').eq(i).css({background: 'url(' + a[i] + ')', backgroundRepeat: 'repeat-x'});
}
</script>

Sursa:Link

Rezultat :


 
  • Pagina 1 din 1
  • 1
Căutare: