-
Notifications
You must be signed in to change notification settings - Fork 0
/
inc_footer.php
127 lines (111 loc) · 3.03 KB
/
inc_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
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
<?php
print "</div>
<div class='footer'>
<span class='footerblock' id='mb1'>
<a href='' target='_blank'>
<img src='" . WWWROOT . "/images/bug-white.png' height='50'/><br/>
<h5>Bugs</h5>
</a>
</span>
<span class='footerblock' id='mb2'>
<a href='" . WWWROOT . "/go/github' target='_blank'>
<img src='" . WWWROOT . "/images/github-white.png' height='50'/><br/>
<h5>Development</h5>
</a>
</span>
<span class='footerblock' id='mb3'>
<a href='" . WWWROOT . "/video/watch' target='_blank'>
<img src='" . WWWROOT . "/images/video-white.png' height='50'/><br/>
<h5>Video</h5>
</a>
</span>
<span class='footerblocklogo'>
<img src='" . WWWROOT . "/images/intel.png' />
</span>
<span class='footerblock' id='mb4'>
<a href='" . WWWROOT . "/go/docs' target='_blank'>
<img src='" . WWWROOT . "/images/document-white.png' height='50'/><br/>
<h5>Documentation</h5>
</a>
</span>
<span class='footerblock' id='mb5'>
<a href='" . WWWROOT . "/go/dudes' target='_blank'>
<img src='" . WWWROOT . "/images/person-white.png' height='50'/><br/>
<h5>Contact</h5>
</a>
</span>
<span class='footerblock' id='mb6'>
<a href='" . WWWROOT . "/ovf/start'>
<img src='" . WWWROOT . "/images/deploy.png' height='50'/><br/>
<h5>Template Deployer</h5>
</a>
</span>
</div>
<script language='javascript'>";
?>
function loading( num )
{
$( "#mb" + num ).animate(
{
opacity: 1.0,
left: "-=50",
height: "toggle"
}, 150, function()
{
if( num != 6 )
{
loading( num + 1 );
}
$( "#mb" + num ).animate(
{
opacity: 0.8,
left: "+=50",
height: "toggle"
}, 150 );
});
}
$( document ).ready( function()
{
loading( 1 );
$( ".osimage, .footerblock" ).hover(function()
{
$( this ).animate(
{
opacity: 1.0
}, 750 );
},
function()
{
$( this ).animate(
{
opacity: 0.6
}, 750 );
});
$( "a.ilabdownload" ).click(function( event )
{
event.preventDefault();
url = $( this ).attr( "href" );
$( "#content" ).fadeTo( "fast", 1.0, function()
{
document.location.href = url;
$( "#content" ).fadeTo( 2000 , 0.25 );
});
});
resizeVideoJS(); // Initialize the function
});
$( window ).resize(function() { resizeVideoJS(); });
function resizeVideoJS()
{
var myPlayer = $( "#ilabprepvideo" );
var aspectRatio = 16/9;
var height = document.getElementById( "pageContent" ).offsetHeight - 20;
myPlayer.height( height ).width( height * aspectRatio );
var pcenter = window.width / 2;
var vwidth = ( height * aspectRatio );
var vleft = Math.round( pcenter - (vwidth / 2) , 0 );
myPlayer.css( { left: vleft, position:'absolute' } );
}
<?php
print "</script>
</body>
</html>";