-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtools.html
More file actions
292 lines (250 loc) · 10.1 KB
/
tools.html
File metadata and controls
292 lines (250 loc) · 10.1 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<title>Distributome Tools Carousel</title>
<meta name="verify-v1" content="S6zclu9UcbbjR6mX8ELA6R4G0lCJKUAtaTLeQmxvg8A=">
<meta name="description" content="Probability and Statistics Distributions Resource - Distributome">
<meta name="keywords" content="Probability Statistics Distributions Resource Distributome Webapps">
<meta name="author" content="https://Distributome.org">
<link rel="stylesheet" type="text/css" href="./images/Distributome_style.css">
<link rel="shortcut icon" href="./images/favicon.ico">
<style type="text/css" media="screen">
<!--
body { font: 1em "Trebuchet MS", verdana, arial, sans-serif; font-size: 100%; }
input, textarea { font-family: Arial; font-size: 125%; padding: 7px; }
label { display: block; }
.infiniteCarousel {
width: 695px;
position: relative;
text-align: left;
}
.infiniteCarousel .wrapper {
width: 615px; /* .infiniteCarousel width - (.wrapper margin-left + .wrapper margin-right) */
overflow: auto;
min-height: 20em;
margin: 0 140px;
position: absolute;
top: 0;
}
.infiniteCarousel ul a img {
border: 5px solid #000;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.infiniteCarousel .wrapper ul {
width: 9999px;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
position: absolute;
top: 0;
}
.infiniteCarousel ul li {
display:block;
float:left;
padding: 10px;
height: 200px;
width: 200px;
}
.infiniteCarousel ul li a img {
display:block;
}
.infiniteCarousel .arrow {
display: block;
height: 36px;
width: 37px;
background: url(V3/images/arrow.png) no-repeat 0 0;
text-indent: -999px;
position: absolute;
//margin: 0 100px;
top: 67px;
cursor: pointer;
}
.infiniteCarousel .forward {
background-position: 0 0;
margin: 0 -100px;
right: 0;
}
.infiniteCarousel .back {
background-position: 0 -72px;
margin: 0 100px;
left: 0;
}
.infiniteCarousel .forward:hover {
background-position: 0 -36px;
}
.infiniteCarousel .back:hover {
background-position: 0 -108px;
}
-->
</style>
<script src="./V3/scripts/jquery.js"></script>
<script type="text/javascript">
$.fn.infiniteCarousel = function () {
function repeat(str, num) {
return new Array( num + 1 ).join( str );
}
return this.each(function () {
var $wrapper = $('> div', this).css('overflow', 'hidden'),
$slider = $wrapper.find('> ul'),
$items = $slider.find('> li'),
$single = $items.filter(':first'),
singleWidth = $single.outerWidth(),
visible = Math.ceil($wrapper.innerWidth() / singleWidth), // note: doesn't include padding or border
currentPage = 1,
pages = Math.ceil($items.length / visible);
// 1. Pad so that 'visible' number will always be seen, otherwise create empty items
if (($items.length % visible) != 0) {
$slider.append(repeat('<li class="empty" />', visible - ($items.length % visible)));
$items = $slider.find('> li');
}
// 2. Top and tail the list with 'visible' number of items, top has the last section, and tail has the first
$items.filter(':first').before($items.slice(- visible).clone().addClass('cloned'));
$items.filter(':last').after($items.slice(0, visible).clone().addClass('cloned'));
$items = $slider.find('> li'); // reselect
// 3. Set the left position to the first 'real' item
$wrapper.scrollLeft(singleWidth * visible);
// 4. paging function
function gotoPage(page) {
var dir = page < currentPage ? -1 : 1,
n = Math.abs(currentPage - page),
left = singleWidth * dir * visible * n;
$wrapper.filter(':not(:animated)').animate({
scrollLeft : '+=' + left
}, 500, function () {
if (page == 0) {
$wrapper.scrollLeft(singleWidth * visible * pages);
page = pages;
} else if (page > pages) {
$wrapper.scrollLeft(singleWidth * visible);
// reset back to start position
page = 1;
}
currentPage = page;
});
return false;
}
$wrapper.after('<a class="arrow back"><</a><a class="arrow forward">></a>');
// 5. Bind to the forward and back buttons
$('a.back', this).click(function () {
return gotoPage(currentPage - 1);
});
$('a.forward', this).click(function () {
return gotoPage(currentPage + 1);
});
// create a public interface to move to a specific page
$(this).bind('goto', function (event, page) {
gotoPage(page);
});
});
};
$(document).ready(function () {
$('.infiniteCarousel').infiniteCarousel();
});
</script>
</head>
<body>
<div id="wrapper-menu-top">
<div id="menu-top">
<ul>
<li><a href="https://www.Distributome.org" title="Distributome Home"><span>Home</span></a></li>
<li><span> Tools »<br>
</span></li>
<li><a href="./license.html" title="Distributome Resources Licenses"><span>License</span></a></li>
<li><a href="./docs.html" title="Distributome Technical Documentation"><span>Tech Docs</span></a></li>
<li><a href="./meetings" title="Distributome Meetings and Events"><span>Events</span></a></li>
<li><a href="https://distributome.org/V3"
title="Distributome Interactive Explorer"><span>Navigator</span></a></li>
<li><a href="./V3/DistributomeDBSearch.xml.php" title="Keyword Search the Distributome Meta-data"><span>DB Search</span></a></li>
<li><a href="./blog" title="Distributome Blog"><span>Blog</span></a></li>
</ul>
</div>
<!--menu-top--></div>
<!--wrapper-menu-top-->
<div id="wrapper-header">
<div id="header">
<div id="wrapper-header2">
<div id="wrapper-header3">
<h1>
<center>Interactive Distributome Webapps and Tools<br></center>
</h1>
</div>
</div>
</div>
</div>
<div style="text-align: justify;" id="content">
<div class="infiniteCarousel">
<div style="overflow: hidden;" class="wrapper">
<ul>
<li class="cloned"><a href="https://www.distributome.org/V3/calc/index.html"
title="Probability Calculators">
<img src="./V3/images/Calculators.png" alt="Probability Calculators" height="150" width="150"></a></li>
<li class="cloned"><a href="https://www.distributome.org/V3/exp/index.html"
title="Virtual Experiments">
<img src="./V3/images/Experiments.png" alt="Virtual Experiments" height="150" width="150"></a></li>
<li class="cloned"><a href="https://www.distributome.org/V3/sim/index.html"
title="Random Simulator">
<img src="./V3/images/Simulators.png" alt="Random Simulator" height="150" width="150"></a></li>
<li class="cloned"><a href="https://www.distributome.org/V3/DistributomeGame.html"
title="Distributome Game">
<img src="./V3/images/Game.png" alt="Distributome Game" height="150" width="150"></a></li>
<li class="cloned"><a href="https://distributome.org/V3/index.html"
title="Distributome Navigator">
<img src="./V3/images/Navigator.png" alt="Distributome Navigator" height="150" width="150"></a></li>
<li class="cloned"><a href="https://www.distributome.org/V3/DistributomeDBSearch.xml.php"
title="Distributome Search">
<img src="./V3/images/Search.png" alt="Distributome Search" height="150" width="150"></a></li>
<li class="cloned"><a href="https://www.distributome.org/docs.html"
title="Technical Documentations">
<img src="./V3/images/Docs.png" alt="Technical Documentations" height="150" width="150"></a></li>
</ul>
</div><a class="arrow back"><</a><a class="arrow forward">></a>
</div>
</div>
<div id="wrapper-footer">
<br> </br> <br> </br> <br> </br> <br> </br>
<div id="footer">
Visitor number
<img class="statcounter" src="https://c.statcounter.com/5714596/0/038e9ac4/0/" alt="Web Analytics" align="middle" border="0">
<script type="text/javascript"> var d=new Date();
document.write(" | 2008-"+d.getFullYear()+" | ");
</script>
<a href="https://www.Distributome.org">www.Distributome.org</a>
</div>
</div>
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project = 5714596;
var sc_invisible = 1;
var sc_security = "038e9ac4";
var scJsHost = (("https:" == document.location.protocol) ? "https://secure."
: "https://www.");
document
.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript>
<div class="statcounter">
<a title="web analytics" href="https://statcounter.com/"
target="_blank"><img class="statcounter"
src="//c.statcounter.com/5714596/0/038e9ac4/1/"
alt="web
analytics"></a>
</div>
</noscript>
<!-- End of StatCounter Code -->
<!-- GoogleAnalytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-366912946"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-366912946');
</script>
<!-- End of GoogleAnalytics Code -->
</body>
</html>