![How Smart Is Your Dog?
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700' rel='stylesheet' type='text/css'>
<style type="text/css">
.pajina {
width: 760px;
background: url('http://pets13.com/image_files/smart-dog-quiz/images/banner.jpg') top left no-repeat;
}
.banner {
height:530px;
}
.pajina p {
font-family: Tahoma, Geneva, sans-serif;
font-size: 13px;
line-height: 150%;
}
.intro {
width: 350px;
position: absolute;
margin-top: 235px;
margin-left: 60px;
}
.bigtex {
font-size: 24px;
}
.entrada {
border: 1px solid #EEE;
width: 375px;
float: left;
height: 400px;
}
.entradawrapador {
padding: 20px;
padding-top: 5px;
}
.entradatitolo {
font-size: 20px;
font-family: Tahoma, Geneva, sans-serif;
font-weight: bold;
margin-top: 10px;
padding-left: 7px;
}
.entrada td {
border-bottom: 1px dashed #999;
padding: 8px;
}
.entrada tr {
width: 400px;
}
.entrada table {
width: 330px;
}
.pajina .entrada p.question {
font-size: 16px;
height: 60px;
border-bottom: 1px solid #CCC;
}
#testresults {
height: 350px;
}
.errorMassage {
background: url('http://pets13.com/image_files/smart-dog-quiz/images/testresultsbg_errorMassage.jpg') top left no-repeat;
padding-left: 350px;
}
.lowscore {
background: url('http://pets13.com/image_files/smart-dog-quiz/images/testresultsbg_lowscore.jpg') top left no-repeat;
padding-left: 350px;
}
.medscore {
background: url('http://pets13.com/image_files/smart-dog-quiz/images/testresultsbg_medscore.jpg') top left no-repeat;
padding-left: 350px;
}
.goodscore {
background: url('http://pets13.com/image_files/smart-dog-quiz/images/testresultsbg_goodscore.jpg') top left no-repeat;
padding-left: 350px;
}
.topscore {
background: url('http://pets13.com/image_files/smart-dog-quiz/images/testresultsbg_topscore.jpg') top left no-repeat;
padding-left: 350px;
}
.pajina #testresults li {
font-family: Tahoma, Geneva, sans-serif;
font-size: 13px;
line-height: 150%;
}
.pajina #testresults h2 {
color: #663300;
font-family: 'Arvo', serif;
}
.pajina #testresults p {
font-size: 14px;
width: 300px;
}
.relatedtitolo {
font-family: Tahoma, Geneva, sans-serif;
font-color: #000;
font-weight: bold;
font-size: 15px;
border-bottom: 2px solid #000;
padding: 5px 0 10px 0;
margin-bottom: 10px;
}
</style>
<script type="text/javascript">
function checktest() {
var totalscore=0;
var error = false;
firsterror = true;
for (var i = 1; i <= 10; i++) {
var tally=0;
for (var j = 0; j < document.quiz["q"+i].length; j++) {
if (document.quiz["q"+i][j].checked) {
switch (document.quiz["q"+i][j].value) {
case 'a': totalscore+= 10; break;
case 'b': totalscore+= 5; break;
case 'c': totalscore+= 3; break;
case 'd': totalscore+= 1; break;
}//end switch
} else {
tally++;
}//end checking the checked
if (tally == 4) {
error = true;
if (firsterror == true) {
firsterror = false;
document.getElementById('testresults').className = "errorMassage";
document.getElementById('testresults').innerHTML = "<h2>Oops!</h2>\n<p>We've detected an incomplete exam:</p>";
}
document.getElementById('testresults').innerHTML += "<li>Question "+i+" is unchecked</li>";
}
}//end selection check
}//end question jump
if (error == false) {
document.getElementById('testresults').innerHTML = "<h2>QUIZ SCORE : "+totalscore+"</h2>\n";
if (totalscore <= 20) {
document.getElementById('testresults').className = "lowscore";
document.getElementById('testresults').innerHTML += "<p>Your dog might not be smart, but think about it…<br> do you really want a dog that can open the fridge, operate your car or run up your credit cards? He is a happy go lucky fellow and you love him just for that reason. </p>";
} else if (totalscore <= 40) {
document.getElementById('testresults').className = "medscore";
document.getElementById('testresults').innerHTML += "<p>He might not be the smartest of the bunch, but we bet he is the sweetest.<br><bR>Try socializing him and take him to training school. Play with him often and you will see all the difference.</p>";
} else if (totalscore <= 70) {
document.getElementById('testresults').className = "goodscore";
document.getElementById('testresults').innerHTML += "<p>We got to give it to you… your dog is smart and cautious. With a little training, he will be top dog in no time.<bR><br>He knows what he wants and is not afraid to show it. </p>";
} else {
document.getElementById('testresults').className = "topscore";
document.getElementById('testresults').innerHTML += "<p>We are sure your dog has won some awards, or it runs in the family. Kudos to you for training him well!<br><br>But be aware, you think you are in-charge? Your dog might be running the show!</p>";
}
} else {
document.getElementById('testresults').innerHTML += "<p style=\"width: 350px;\">Please select the best answer(s) and submit again!</p>\n";
}
}
</script>]()
We all think that our pets are the smartest. It's because they have us wrapped around their little paws. In reality, our dogs are just as smart as we have trained them to be. Some definitely have their own personalities and no amount of training would do them any good.
We have created this Smart Dog Quiz just for fun, but you will get an idea just how capable your furry friend is. Please remember, all dogs are different and at times your dog might not match up with any answers, but it does not mean he is not smart. He was smart enough to pick you to love, and that is genius in our books.
Related Articles
|