forked from joshlory/ddfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (145 loc) · 8.53 KB
/
index.html
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="D-D farm, animal sanctuary, rescue, non-profit"/>
<meta name="description" content="D-D Farm is a a 501(c)(3) non-profit. We take in orphaned or unwanted wildlife and return them to the wild, and exotic animals as space is available."/>
<title>D-D Farm - Animal Sanctuary and Rescue</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript">
// <![CDATA[
var featuredImages = new Array(
"tony_hemera",
"atika",
"katana",
"flame",
"bonnie",
"dozer",
"azland"
);
var featuredDescriptions = new Array(
"<strong>Tony</strong> is 6 years old, male neutered Siberian Tiger. He was a photoshoot tiger - people paid 10 dollars for pictures with him until he was 18 weeks old. Tony came from Versailles MO as the result of confiscations. <strong>Hemera</strong> is from Oklahoma. She was a gift from GW exotic animal park.",
"<strong>Atika</strong> was an ex breeder and came to the farm from a breeder in Arkansas with Shiela. They retire at DD, living out the rest of their lives here.",
"<strong>Katana</strong> is a 3 year old African Serval. She was originally an ambassador animal at Sea World in Florida but she became too hissy and was given to DD.",
"<strong>Flame</strong> is an Arctic Wolf Hybrid that came from a young man who had him illegally. He needed a place for Flame because he was leaving for school and his father wanted to turn him loose to run wild in the community.",
"<strong>Bonnie</strong> is 6 years old, from Iowa. She was only fed once a week, and has a bone and hip condition as a result of malnutrition.",
"<strong>Dozer</strong> is a Sulcata Tortoise who came from somebody who fed her strictly dog food. She will live out the remainder of her life at DD farm.",
"<strong>Azland</strong> is a Barbery Lion, which are extinct in the wild. He was a gift to Dale from GW exotic animal park in Oklahoma. His parents are being checked for the Barbery Lion Project, and if they turn out positive he will become part of the program as well."
);
$().ready(function() {
var currentIndex = 0;
$(".animal_highlight").mouseenter(function() {
$(".animal_highlight").removeClass("hover");
$(this).addClass("hover");
var index = currentIndex = $("#animal_list").children().index($(this).parent());
// Change picture
var temp = new Image();
var src = "img/featured/" + featuredImages[index] + ".jpg";
var loaded = false;
$(temp).load(function() {
if (index == currentIndex) {
loaded = true;
$("#animal_info_picture").attr("src", src);
$("#animal_info_picture").show();
}
}).attr("src", src);
function checkIfLoaded() {
if (!loaded) {
$("#animal_info_picture").hide();
}
}
setTimeout(checkIfLoaded, 100);
// Update text
setFeaturedText(index);
});
setFeaturedText();
});
var prevIndex = 0;
function setFeaturedText(index) {
if (index != prevIndex) {
$("#animal_info_text p").html(featuredDescriptions[index || 0]);
$("#animal_info_text").height($("#animal_info_text p").height() + 10);
$("#animal_info_text").stop(true, true).show("slide", {direction: "down"}, "fast");
prevIndex = index || 0;
}
}
// ]]>
</script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!--[if IE 6]>
<link rel="stylesheet" href"css/style-ie6.css" type="text/css" />
<![endif]-->
</head>
<body>
<div id="wrapper">
<!-- GitHub Ribbon -->
<a href="http://github.com/joshlory/ddfarm"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://assets0.github.com/img/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf?repo=&url=http%3A%2F%2Fs3.amazonaws.com%2Fgithub%2Fribbons%2Fforkme_right_red_aa0000.png&path=" alt="Fork me on GitHub"></a>
<div id="header">
<h1>D-D Animal Sanctuary</h1>
</div>
<div id="menu">
<a href="index.html" title="Home">Home</a>
<a href="animals/index.html" title="Animals">Animals</a>
<a href="stories.html" title="Rescue stories">Rescue Stories</a>
<a href="wishlist.html" title="Wish list">Wish List</a>
<a href="about.html" title="About us">About Us</a>
</div>
<div id="intro">
<ul id="animal_list">
<li><a href="#" class="animal_highlight hover">
<span class="animal_name">Tony and Hemera</span>
<span class="animal_species">Siberian Tigers</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Atika</span>
<span class="animal_species">Mountain Lion</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Katana</span>
<span class="animal_species">African Serval</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Flame</span>
<span class="animal_species">Arctic Wolf Hybrid</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Bonnie</span>
<span class="animal_species">Mountain Lion</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Dozer</span>
<span class="animal_species">Sulcata Tortoise</span>
</a></li>
<li><a href="#" class="animal_highlight">
<span class="animal_name">Azland</span>
<span class="animal_species">Barbery Lion</span>
</a></li>
</ul>
<div id="animal_info_pane">
<div id="animal_info_text_wrapper">
<div id="animal_info_text">
<div id="animal_info_text_bg"></div>
<p></p>
</div>
</div>
<img id="animal_info_picture" src="img/featured/tony_hemera.jpg" alt="" />
<div id="animal_info_picture_fade" style="display: none;"></div>
</div>
</div>
<div id="content">
<div class="sidebox right" style="width: 200px; height: 175px;">
<h3 class="sidebox-header">Non-Profit Status</h3>
<p class="sidebox-content">D-D Farm is a 501(c)(3) non-profit organization, licensed by USDA and the Missouri conservation department.</p>
</div>
<h2>Welcome to the D-D Home Page</h2>
<p>D-D Farm is not a petting zoo, or a zoo of any sort. D-D is not open to the public, so do not come uninvited or without notice. D-D was officially founded in 1999, and is a 501(c)(3) non-profit organization, licensed by USDA and the Missouri conservation department. We are wildlife rehabbers, take in orphaned or unwanted wildlife and return it to the wild, and take in exotic animals as space is available. We hold two open houses as fundraisers a year, open doors for four hours twice a year. If you are interested in volunteering, contact D-D for more information, but it is showed up on an appointment based schedule. D-D is set up on 15 acres of land, which allows for enclosures to be larger than required size.</p>
</div>
<div id="footer">
<span class="copyright">© 2010 Coding for a Cause</span>
<a href="http://www.codingforacause.org/" title="Coding for a Cause" class="cfac-link">
Website Designed and Maintained by <img src="img/cfac-logo.png" style="border:0;"/>
</a>
</div>
</div>
</body>
</html>