You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.9 KiB
71 lines
1.9 KiB
---
|
|
title: Intro
|
|
draft: false
|
|
|
|
weight: 1
|
|
widget:
|
|
handler: blank
|
|
|
|
# Options: sm, md, lg and xl. Default is md.
|
|
width:
|
|
|
|
sidebar:
|
|
# Options: left and right. Leave blank to hide.
|
|
position:
|
|
# Options: sm, md, lg and xl. Default is md.
|
|
scale:
|
|
|
|
background:
|
|
# Options: primary, secondary, tertiary or any valid color value. Default is primary.
|
|
color:
|
|
image:
|
|
# Options: auto, cover and contain. Default is auto.
|
|
size:
|
|
# Options: center, top, right, bottom, left.
|
|
position:
|
|
# Options: fixed, local, scroll.
|
|
attachment:
|
|
---
|
|
<!DOCTYPE html>
|
|
<head>
|
|
<style>
|
|
.teletype-prefix, .teletype-cursor { color: #e31837; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p class="type-text" title="Free as in freedom!^2000 ~14 Software, Free Society!">:)</p>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
|
<script src="jquery.teletype.js"></script>
|
|
<script>
|
|
$( function() {
|
|
$( '.type-text' ).each( function() {
|
|
var items = $( this ).attr( 'title' ) + ';' + $( this ).text();
|
|
$( this ).empty().attr( 'title', '' ).teletype( {
|
|
text: $.map( items.split( ';' ), $.trim ),
|
|
typeDelay: 10,
|
|
backDelay: 20,
|
|
cursor: '▋',
|
|
delay: 3000,
|
|
preserve: false,
|
|
prefix: '[fss@metu ~]$ ',
|
|
loop: 0
|
|
} );
|
|
} );
|
|
} );
|
|
</script>
|
|
<script type="text/javascript">
|
|
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-36251023-1']);
|
|
_gaq.push(['_setDomainName', 'jqueryscript.net']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|