-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtacc.html
48 lines (41 loc) · 1.05 KB
/
tacc.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
<html>
<head>
<link href="assets/css/site.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="assets/javascript/jquery.transit.min.js"></script>
<script>
$(document).ready( function() {
// @TODO: automate this somehow...config file?
$.ajax({
url: 'files.php',
data: { directory: "assets/images/tacc"},
success: function(data) {
$('#tile_wrapper').append(data);
}
});
$('.image').live("mouseenter", function() {
$(this).find('.blank_side').show();
$(this).find('.image_side').hide();
$(this).transition({
perspective: '100px',
rotateY: '180deg'
});
$(this).find('.blank_side').html($(this).attr('id'));
});
$('.image').live("mouseleave", function() {
$(this).find('.blank_side').hide();
$(this).find('.image_side').show();
$(this).removeAttr("style");
});
});
</script>
<title>TACC</title>
</head>
<body>
<div id="image_wrapper">
<img id="overlay" src="assets/images/TACC.png" />
<ul id="tile_wrapper">
</ul>
</div>
</body>
</html>