gefun
შაბათი, 05.18.2024, 7:20 PM
მოგესალმები
სტუმარი
|
RSS
მთავარი
|
რეგისტრაცია
|
შესვლა
საიტის მენიუ
მთავარი
CHAT
სექციის კატეგორიები
ფილმები
[18]
ფილმები ქართულად
[19]
ფილმები ონლაინში
[1]
თამაშები
[34]
პროგრამები
[5]
ვებმასტერებს
[3]
ვიდეოგაკვეთილები
[1]
ვიდეო
[4]
სკრიპტები
[3]
მინი-ჩეთი
დასამატებლად აუცილებელია ავტორიზაცია
ჩვენი გამოკითხვა
Оцените мой сайт
შესანიშნავი
კარგი
ნორმალური
ცუდი
საშინელი
შედეგები
|
გამოკითხვების არქივი
სულ პასუხი:
8
სტატისტიკა
სულ ონლაინში:
1
სტუმარი:
1
მომხმარებელი:
0
შესვლის ფორმა
www.wsa.ge
მთავარი
»
2012
»
თებერვალი
»
10
» Poll Form
9:23 AM
Poll Form
დასახელება:Poll Form
აღწერა:ეს არის , ახალი გამოკითხვის ფორმა , სკრიფტი სრულიადში
1. ეს კოდი ჩავსვათ გამოკითხვის ფორმაში
var votes=path.split(":")[1].split("(")[0];
var persent="("+path.split(":")[1].split("(")[1];
$("#ansplace").append('<tr>'
+'<td class="td2">'+num+'</td>'
+'<td class="td3">'+answer+'</td>'
+'<td class="td4" title="'+persent+'" style="cursor:help;">'+votes+'</td>'
+'</tr><tr><td colspan="3" style="border-top:1px solid #555;"></td></tr>');num++;});}
else {
$(".answer").each(function() {
$("input[name='answer']").css("margin","0px");
$("#ansplace").append('<tr>'
+'<td class="td2">'+num+'</td>'
+'<td class="td3">'+$(this).find("label").html()+'</td>'
+'<td class="td4">'+$(this).html().split(">")[0]+'</td>'
+'</tr><tr><td colspan="3" style="border-top:1px solid #555;"></td></tr>');num++;});
$("#ansplace").append('<tr><td class="td1" colspan="3" style="padding:0px;">'+$("div.pollButton").html()+'</td></tr>');
$("input.pollBut").css({cursor:'pointer',width:'100%',fontWeight:'bold',padding:'3px 0px'});}
$("#ans").hide();
</script>
2.ეს კი CSS-ში
* Webdles.com poll by amba752 */
.td1 {cursor:help;padding:3px 0px;border:1px solid #444;background:#333;text-align:center;color:#FFCA3C;}
.td1 input {background:#444;color:#FFCA3C;}
.td1 input:hover {background:#2D2D2D;color:#ccc;}
.td2 {cursor:default;background:#444;text-align:center;padding:2px 5px;margin:1px 2px 0px 0px;width:20px;height:14px;border:1px solid #555;border-bottom:0px;color:#FFCA3C;font-weight:bold;}
.td3 {cursor:default;background:#2D2D2D;border-top:1px solid #555;border-right:1px solid #555;width:100%;padding-left:5px;}
.td4 {background:#444;text-align:center;padding:2px 5px;margin:1px 2px 0px 0px;height:14px;width:25px !important;border:1px solid #555;border-bottom:0px;}
.ansbut {cursor:pointer;background:#444;border:1px solid #555;text-align:center;padding:2px 0px;}
.ansbut:hover {background:#2D2D2D;color:#FFCA3C;}
.td5 {width:50%;}
.td5 a {text-decoration:none;}
.td6 {cursor:default;padding:2px 0px;background:#2D2D2D;border:1px solid #444;text-align:center;}
/* --------------------------- *
მიმაგრება:
1
2
3
4
5
კატეგორია:
სკრიპტები
| ნანახია: 609 | დაამატა:
bregva
| რეიტინგი:
0.0
/
0
სულ კომენტარები:
0
სახელი *:
Email *:
კოდი *:
ძებნა
ადმინთან კონტაქტი
კალენდარი
«
თებერვალი 2012
»
ორ
სამ
ოთხ
ხუთ
პარ
შაბ
კვ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ჩანაწერების არქივი
2012 თებერვალი
2012 მარტი
რეკლამა
საიტის მეგობრები
შენი საიტი აქ
Copyright MyCorp © 2024
Make a
free website
with
uCoz