bottom_service.js
1.5 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$(function(){
setTimeout(function(){$('.bottomsidebar').animate({bottom:"0"},1000)},500);
setTimeout(function(){$('.bottomsidebar .bottomlist .wel01').fadeIn('fast')},1500);
setTimeout(function(){$('.bottomsidebar .bottomlist .wel02').fadeIn('fast')},2300);
setTimeout(function(){$('.bottomsidebar .bottomlist .choose-button .close').fadeIn('fast')},2800);
setTimeout(function(){$('.bottomsidebar .bottomlist .choose-button .goon').fadeIn('fast')},3500);
$('.inquiry-pop-bd').css('width',$(window).width()).css('height',$(window).height())
$('.inquiry-form').each(function(){
$(this).find('.captcha-image').append("<div class='captcha-image-empty' style='color:#F00;'>Please select</div>")
$(this).find('.captcha-image .captcha-image-empty').hide()
$(this).find('.form-btn-wrap .form-btn-submit').click(function(){
var val=$(this).parents('.inquiry-form').find('.captcha-image input:radio:checked').val();
if(val==null){
$(this).parents('.inquiry-form').find('.captcha-image .captcha-image-empty').show()
return false;
} else{
$(this).parents('.inquiry-form').find('.captcha-image .captcha-image-empty').hide()
}
})
})
})
function bottomClose(){
$('.bottomsidebar').animate({bottom:"-268px"},1000)
}
function bottomGoo(){
$('.bootom-inquiry').animate({bottom:"0"},1000)
$('.bottomsidebar').animate({bottom:"-268px"},1000)
}
function bottomCloseDirect(){
$('.bootom-inquiry').animate({bottom:"-500px"},1000)
}