This repository was archived by the owner on Jun 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
139 lines (104 loc) · 3.15 KB
/
index.html
File metadata and controls
139 lines (104 loc) · 3.15 KB
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
<!DOCTYPE html>
<html>
<head>
<title>istic.networks - Bespoke Typing</title>
<link rel="stylesheet" media="all" href="/assets/steelfish/stylesheet.css"/>
<meta name="google-site-verification" content="ytAssCl5v9JE83-ppBkSDVCCfxzKcUoQRsUefcAIQ0A" />
<style type="text/css">
body {
font-family: 'SteelfishRegular';
background: white;
color: black;
font-size: larger;
}
p {
clear: both;
}
.tagline, .contact, footer {
text-align: center;
}
footer {
font-size: small;
}
.slideshow {
max-width: 1039px;
width: 100%;
overflow: none;
}
.slideshow img {
max-width: 1039px;
width: 94%;
position: absolute;
background: #eee no-repeat center center;
padding: 2%;
margin: auto;
border: 1px solid #ccc;
}
</style>
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
</script>
<script type="text/javascript" src="jquery.batchImageLoad.js"></script>
<script type="text/javascript">
var alignElement = function(element){
// Horizontally Center Align this fixed-position element
windowWidth = $(window).width();
elementWidth = element.outerWidth();
left = (windowWidth - elementWidth)/2
element.css("left", left);
}
var rotateImages = function() {
thisimage = $(".shown");
nextthing = thisimage.next();
if(nextthing.length == 0){
nextthing = $($(".slideshow img")[0])
nextthing.addClass("shown");
nextthing.show();
thisimage.fadeOut("slow", populateRandomImages);
return;
}
thisimage.fadeOut("slow", function(){ });
alignElement(nextthing);
$(".slideshow").height($(".slideshow img.shown")[0].height+60);
nextthing.fadeIn("slow");
thisimage.removeClass("shown");
nextthing.addClass("shown");
setTimeout(rotateImages, 5000);
};
var populateRandomImages = function(){
$(".slideshowimage").remove();
for(i=0;i<15;i++){
var randomnumber=Math.floor(Math.random()*50)
$('.slideshow').append('<img class="slideshowimage" src="https://s3-eu-west-1.amazonaws.com/istic-splash/'+randomnumber+'.png" alt="1" style="display: none;" />');
}
$(".slideshow").find('img').batchImageLoad({
loadingCompleteCallback: rotateImages
});
}
$(document).ready(function(){
populateRandomImages();
$(window).resize(function(){
alignElement($(".slideshow img"));
imgheight = $(".slideshow img.shown")[0].height;
$(".slideshow").height(imgheight+40);
}
);
$("#mainlogo").load(function(){
imgheight = $(".slideshow img.shown")[0].height;
$(".slideshow").height(imgheight+40);
alignElement($(".slideshow img"));
$(".slideshow").height($(".slideshow img.shown")[0].height+40);
})
});
</script>
</head>
<body>
<div class="slideshow">
<img src="https://s3-eu-west-1.amazonaws.com/istic-splash/0.png" class="shown" width="1039" height="697" alt="0" id="mainlogo">
</div>
<br style="clear: both"/>
<p class="tagline">Bespoke Typing. Est. 2010.</p>
<p class="contact"><a href="mailto:conversational@istic.net">conversational@istic.net</a></p>
<footer>© Istic Networks Ltd. 2013. Istic Networks is a UK registered company, no. <a href="http://opencorporates.com/companies/uk/07439954">07439954</a></footer>
</body>
</html>