summaryrefslogtreecommitdiffstats
path: root/kanebros/kanebros-logo.xhtml
blob: 8cc4dc33d933a148656580afe6fe43c4338e565a (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Logo Animation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
body {
    color: white;
    background-color: black;
}
#logospace {
    width: 600px;
    height: 400px;
    border: 2px solid white;
    margin: 10px
}
#logo {
    position: reletive:
    border: 4px solid red;
}
#ltear, #rtear {
    position: absolute; /* halves must overlap */
    border: 2px solid white;
}
#logo img {
    height: 30%;
    width: 30%;
}
#rtear {
    margin-top: 25px;
    margin-left: 200px;

}
</style>
<script type="text/javascript" src="jquery-1.10.1.min.js"></script>
<script type="text/javascript">
<![CDATA[
    $(function() {
        $("#rtear").animate({'margin-left': 100}, 1000);
        $("#ltear").animate({'margin-left': 100}, 1000, function() {
            $("#logo .logoimg").each(function() {
                $(this).css({width: "auto"}); // does nothing
            });
            $("#logo").css({
            '-webkit-transform': 'rotate(90deg)',
            '-moz-transform': 'rotate(90deg)',
            '-ms-transform': 'rotate(90deg)',
            '-o-transform': 'rotate(90deg)',
            'transform': 'rotate(90deg)',
            'zoom': 1
            });
        });
    });
]]>
</script>
</head>
<body>
<br />
<br />
<br />
<br /><br />
<br />
<br />
<br />
<p>Sample text above the animated logo.</p>
<div id="logospace">
<div id="logo">
    <div id="ltear" class="logoimg"><img src="kane-logo/ltear.png" alt="" /></div>
    <div id="rtear" class="logoimg"><img src="kane-logo/rtear.png" alt="" /></div>
</div>
</div>
<p>Sample text below the animated logo.</p>
</body>
</html>