• Page 1 of 1
  • 1
UcozBaze All Scripts And Templates » Scripts and Coding » Web Polls » Web Polls Type of polling form (Web Polls Type of polling form)
Web Polls Type of polling form
AlonzoDate: Monday, 2012-11-12, 11:57 AM | Message # 1
Group: Member
Messages: 35
1



Web Polls---Type of polling form:

Code
<div class="pollBlock" style="font-family:Tahoma,Arial;">  
<div class="titles">$QUESTION$ ?</div>  
<div class="pollAns" style="font-size:8pt;text-align:left;">$ANSWERS$</div>  
<center><button class="fbutton" href="$RESULTS_LINK$">Results</button>  
<button class="fbutton" href="$ARCHIVE_LINK$">Polls archive</button></center>  
</div>  

<script type="text/javascript">  
  var a = ['1','2','3','4','5','6','1','2','3','4','5','6'];  
  for(var i = 0; i < a.length; i++){$('div.answer div').eq(i).addClass('progress');$('div.answer div div').eq(i).addClass('progress'+[i]).css({marginTop: '-3px', marginBottom: '-3px',backgroundRepeat: 'repeat-x'});}  
  $('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});  
  </script>


If you are in the survey (for example) 7 golf response is in line

Code
var a = ['1','2','3','4','5','6','1','2','3','4','5','6'];


In the stylesheet Css:

Code
.progress {   
overflow: hidden;   
height: 15px;   
margin-bottom: 5px;   
background-color: #F7F7F7;   
background-image: -moz-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -ms-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(whiteSmoke), to(#F9F9F9));   
background-image: -webkit-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -o-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: linear-gradient(top, whiteSmoke, #F9F9F9);   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);   
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
-webkit-border-radius: 4px;   
-moz-border-radius: 4px;   
border-radius: 4px;   
}   
   .progress0 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background: #0E90D2!important;   
background-image: -moz-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -ms-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149BDF), to(#0480BE))!important;   
background-image: -webkit-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -o-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: linear-gradient(top, #149BDF, #0480BE)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0)!important;   
}   
   .progress1 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #DD514C!important;   
background-image: -moz-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -ms-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EE5F5B), to(#C43C35))!important;   
background-image: -webkit-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -o-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0)!important;   
}   
   .progress2 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #5EB95E!important;   
background-image: -moz-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -ms-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62C462), to(#57A957))!important;   
background-image: -webkit-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -o-linear-gradient(top, #62C462, #57A957)!important;   
background-image: linear-gradient(top, #62C462, #57A957)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0)!important;   
}   
   .progress3 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #4BB1CF!important;   
background-image: -moz-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -ms-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5BC0DE), to(#339BB9))!important;   
background-image: -webkit-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -o-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0)!important;   
}   
   .progress4 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #FAA732!important;   
background-image: -moz-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -ms-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FBB450), to(#F89406))!important;   
background-image: -webkit-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -o-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: linear-gradient(top, #FBB450, #F89406)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0)!important;   
}   
     
.progress5 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background: #0E90D2!important;   
background-image: -moz-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -ms-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149BDF), to(#0480BE))!important;   
background-image: -webkit-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -o-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: linear-gradient(top, #149BDF, #0480BE)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0)!important;   
}   
   .answer {   
color: black;   
background-image: none;   
background-repeat: no-repeat;   
background-position: bottom left;   
line-height: 22px;   
display: block;   
}   
   .pollAns {padding: 5px;text-align: center!important;}   
   .titles {margin: 0 3px 4px 3px;display: block;-moz-border-radius: 3px;-webkit-border-radius: 3px;-khtml-border-radius: 3px;padding: 4px 5px 5px 5px; border-radius: 3px;background: #FF6161;color: white;text-shadow: 0 1px 0 #BA4747;}


 
Message



Web Polls---Type of polling form:

Code
<div class="pollBlock" style="font-family:Tahoma,Arial;">  
<div class="titles">$QUESTION$ ?</div>  
<div class="pollAns" style="font-size:8pt;text-align:left;">$ANSWERS$</div>  
<center><button class="fbutton" href="$RESULTS_LINK$">Results</button>  
<button class="fbutton" href="$ARCHIVE_LINK$">Polls archive</button></center>  
</div>  

<script type="text/javascript">  
  var a = ['1','2','3','4','5','6','1','2','3','4','5','6'];  
  for(var i = 0; i < a.length; i++){$('div.answer div').eq(i).addClass('progress');$('div.answer div div').eq(i).addClass('progress'+[i]).css({marginTop: '-3px', marginBottom: '-3px',backgroundRepeat: 'repeat-x'});}  
  $('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});  
  </script>


If you are in the survey (for example) 7 golf response is in line

Code
var a = ['1','2','3','4','5','6','1','2','3','4','5','6'];


In the stylesheet Css:

Code
.progress {   
overflow: hidden;   
height: 15px;   
margin-bottom: 5px;   
background-color: #F7F7F7;   
background-image: -moz-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -ms-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(whiteSmoke), to(#F9F9F9));   
background-image: -webkit-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: -o-linear-gradient(top, whiteSmoke, #F9F9F9);   
background-image: linear-gradient(top, whiteSmoke, #F9F9F9);   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);   
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);   
-webkit-border-radius: 4px;   
-moz-border-radius: 4px;   
border-radius: 4px;   
}   
   .progress0 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background: #0E90D2!important;   
background-image: -moz-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -ms-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149BDF), to(#0480BE))!important;   
background-image: -webkit-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -o-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: linear-gradient(top, #149BDF, #0480BE)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0)!important;   
}   
   .progress1 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #DD514C!important;   
background-image: -moz-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -ms-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EE5F5B), to(#C43C35))!important;   
background-image: -webkit-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: -o-linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-image: linear-gradient(top, #EE5F5B, #C43C35)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0)!important;   
}   
   .progress2 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #5EB95E!important;   
background-image: -moz-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -ms-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62C462), to(#57A957))!important;   
background-image: -webkit-linear-gradient(top, #62C462, #57A957)!important;   
background-image: -o-linear-gradient(top, #62C462, #57A957)!important;   
background-image: linear-gradient(top, #62C462, #57A957)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0)!important;   
}   
   .progress3 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #4BB1CF!important;   
background-image: -moz-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -ms-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5BC0DE), to(#339BB9))!important;   
background-image: -webkit-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: -o-linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-image: linear-gradient(top, #5BC0DE, #339BB9)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0)!important;   
}   
   .progress4 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background-color: #FAA732!important;   
background-image: -moz-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -ms-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FBB450), to(#F89406))!important;   
background-image: -webkit-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: -o-linear-gradient(top, #FBB450, #F89406)!important;   
background-image: linear-gradient(top, #FBB450, #F89406)!important;   
background-repeat: repeat-x!important;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0)!important;   
}   
     
.progress5 {   
color: white;   
text-align: center!important;   
text-indent: -2000em!important;   
height: 15px!important;   
display: block!important;   
overflow: hidden!important;   
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)!important;   
background: #0E90D2!important;   
background-image: -moz-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -ms-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149BDF), to(#0480BE))!important;   
background-image: -webkit-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: -o-linear-gradient(top, #149BDF, #0480BE)!important;   
background-image: linear-gradient(top, #149BDF, #0480BE)!important;   
background-repeat: repeat-x;   
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0)!important;   
}   
   .answer {   
color: black;   
background-image: none;   
background-repeat: no-repeat;   
background-position: bottom left;   
line-height: 22px;   
display: block;   
}   
   .pollAns {padding: 5px;text-align: center!important;}   
   .titles {margin: 0 3px 4px 3px;display: block;-moz-border-radius: 3px;-webkit-border-radius: 3px;-khtml-border-radius: 3px;padding: 4px 5px 5px 5px; border-radius: 3px;background: #FF6161;color: white;text-shadow: 0 1px 0 #BA4747;}

Author - Alonzo
Date Added - 2012-11-12 в 11:57 AM
ScripTDate: Wednesday, 2013-11-20, 5:00 PM | Message # 2
Group: UcozBaze Team
Messages: 1
0
cool
 
Messagecool

Author - ScripT
Date Added - 2013-11-20 в 5:00 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Web Polls » Web Polls Type of polling form (Web Polls Type of polling form)
  • Page 1 of 1
  • 1
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Appearance of entries movie site for uCoz (0)
type list Google preloader on pure CSS ucoz (0)
type list Pre-Loader for a site on pure CSS (Transition) ucoz (0)
type list Script to disable the F12 key and right-click ucoz (0)
type list Animated button for downloading using SVG and Vue UCOZ (0)
type list Top Forum Users ucoz (0)
type list Snow script for your website ucoz (0)
type list Original watch without digits ucoz (0)
type list Bookmark Buttons Generator (0)
type list Automatically add tags for all uCoz modules (6)
type list How to customize the design of the site for mobile version (3)
type list Video player for uCoz (3)
type list Auto Youtube Trailers for Ucoz Movies Web (0)
type list Pranešimai skrti jums yra matomi Tag Board Ucoz skriptas (1)
type list Why can’t I copy large files over 4GB to my USB flash drive (0)
type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Juokingos Fotkes :) (19)
type list Kaip pakeisti paveiksla mazas? (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Megsti samp? Ateik cia (10)
type list Button scrolling up ucoz (10)
type list Slider KinoPlius Help to setup :) (10)
type list Apklausa Jūsų Svetainei New ucoz (10)
type list KinoPlius (9)
type list SexMergytes.do.am (9)
type list Money for the forum ucoz (9)
type list 11.17.2011 (9)
type list Puslapis "Atliekami techniniai darbai" Ucoz scriptas (9)
type list User personal Page ucoz (8)
interout
Forum Posts: 1027
Comments: 51
Reputation: 83
Rank:
GoblinaS
Forum Posts: 380
Comments: 15
Reputation: 25
Rank:
Adi
Forum Posts: 179
Comments: 11
Reputation: 23
Rank:
Esquire
Forum Posts: 147
Comments: 8
Reputation: 5
Rank:
BAtman
Forum Posts: 129
Comments: 1
Reputation: 18
Rank:
WaSHkaZ
Forum Posts: 83
Comments: 0
Reputation: 3
Rank:
Skacikas
Forum Posts: 71
Comments: 0
Reputation: 12
Rank:
meskis
Forum Posts: 51
Comments: 0
Reputation: 25
Rank:
Gytenas
Forum Posts: 51
Comments: 0
Reputation: 1
Rank:
vicka
Forum Posts: 50
Comments: 1
Reputation: 4
Rank:
Samartinean
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
Азиза_Азизи
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
woscs1-6
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
Matruka
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
ArEzO
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
masterkmv74
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
bloody-warrior1
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
constantinm188
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
doctor_server
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:
paynergroup
Forum Posts: 0
Comments: 0
Reputation: 0
Rank:


Site design by uCozBaze
uCozBaze © 2011-2016