forked from shubhamkumar29/Lifr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
99 lines (94 loc) · 3.13 KB
/
footer.php
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!-- footer -->
<footer>
<div class="wrapper">
<a href="index.html" id="footer_logo"><span>Hope</span>Center</a>
<ul id="icons">
<li><a href="#" class="normaltip" title="Facebook"><img src="images/icon1.gif" alt=""></a></li>
<li><a href="#" class="normaltip" title="Twitter"><img src="images/icon2.gif" alt=""></a></li>
<li><a href="#" class="normaltip" title="Linkedin"><img src="images/icon3.gif" alt=""></a></li>
</ul>
</div>
<div class="wrapper">
<nav>
<ul id="footer_menu">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="Mission.html">Our Mission</a></li>
<li><a href="News.html">News & Press</a></li>
<li><a href="Help.html">How to Help</a></li>
<li class="end"><a href="Contact.html">Contact</a></li>
</ul>
</nav>
<div class="tel"><span>+1 800</span>123 45 67</div>
</div>
<div id="footer_text">
Website Template by <a href="http://www.templatemonster.com/" target="_blank" rel="nofollow">www.templatemonster.com</a><br>
3D Models provided by <a href="http://www.templates.com/product/3d-models/" target="_blank" rel="nofollow">www.templates.com</a>
</div>
</footer>
<!-- / footer -->
</div>
</div>
<script type="text/javascript">Cufon.now();</script>
<script>
$(window).load(function(){
$('.slider')._TMS({
preset:'zabor',
easing:'easeOutQuad',
duration:800,
pagination:true,
banners:true,
waitBannerAnimation:false,
slideshow:6000,
bannerShow:function(banner){
banner
.css({right:'-700px'})
.stop()
.animate({right:'0'},600, 'easeOutExpo')
},
bannerHide:function(banner){
banner
.stop()
.animate({right:'-700'},600,'easeOutExpo')
}
})
$('.pagination li').hover(function(){
if (!$(this).hasClass('current')) {
$(this).find('a').stop().animate({backgroundPosition:'0 0'},600,'easeOutExpo', function(){$(this).parent().css({backgroundPosition:'-20px 0'})});
}
},function(){
if (!$(this).hasClass('current')) {
$(this).css({backgroundPosition:'0 0'}).find('a').stop().animate({backgroundPosition:'-250px 0'},600,'easeOutExpo');
}
})
})
$(document).ready(function() {
$(".expanded").hide();
$(".expanded a, .collapsed a").click(function(eve) {
var $container = $(this).parents("div");
eve.preventDefault();
$container.children(".expanded, .collapsed").toggle();
});
});
window.smoothScroll = function(target) {
var scrollContainer = target;
do { //find scroll container
scrollContainer = scrollContainer.parentNode;
if (!scrollContainer) return;
scrollContainer.scrollTop += 1;
} while (scrollContainer.scrollTop == 0);
var targetY = 0;
do { //find the top of target relatively to the container
if (target == scrollContainer) break;
targetY += target.offsetTop;
} while (target = target.offsetParent);
scroll = function(c, a, b, i) {
i++; if (i > 30) return;
c.scrollTop = a + (b - a) / 30 * i;
setTimeout(function(){ scroll(c, a, b, i); }, 20);
}
// start scrolling
scroll(scrollContainer, scrollContainer.scrollTop, targetY, 0);
}
</script>
</body>
</html>