forked from ITensor/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs_footer.html
48 lines (34 loc) · 931 Bytes
/
docs_footer.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
</div>
<div id="footer"></div>
</div> <!--class="main"-->
<script type="text/javascript">
$(document).ready(function()
{
$('.rounded').corner("7px");
$('.example_clicker').next().hide();
$('.example_clicker').click(
function(e)
{
/*
$(e.target).toggle(
function(e) { $(e.target).text("Show Example").stop(); },
function(e) { $(e.target).text("Hide Example").stop(); });
*/
$(e.target).next('.highlight').slideToggle(100);
/* Change text */
var str = $(e.target).text();
if(str.search("Show") > -1)
{
str = str.split("Show").join("Hide");
}
else
{
str = str.split("Hide").join("Show");
}
var set_text = function() { $(e.target).text(str); }
window.setTimeout(set_text, 200);
});
});
</script>
</body>
</html>