Browse Source

fix typed thing

main
Luke Murphy 9 years ago
parent
commit
0bb4230e39
  1. 27
      index.html

27
index.html

@ -78,7 +78,7 @@
<body> <body>
<div id="wrapper"> <div id="wrapper">
<div id="header"> <div id="header">
<h1>Hi there, I'm Alice. <span id="smaller-inner">I like to <span class="element">read Vonnegut.</span> </span> </h1> <h1>Hi there, I'm Alice. <span id="smaller-inner"> <span class="element"> </span> </span> </h1>
</div> </div>
<div id="written-text"> <div id="written-text">
<p> <p>
@ -126,19 +126,20 @@
$(function(){ $(function(){
$(".element").typed({ $(".element").typed({
strings: [ strings: [
"paint with watercolours.", "I like to read Vonnegut.",
"cook things.", "I like to paint with watercolours.",
"buy notebooks.", "I like to cook things.",
"drink wine.", "I like to buy notebooks.",
"eat often.", "I like to drink wine.",
"live in Berlin.", "I like to eat often.",
"drink coffee.", "I like to live in Berlin.",
"practice calligraphy.", "I like to drink coffee.",
"listen to The Smiths." "I like to practice calligraphy.",
"I like to listen to The Smiths."
], ],
startDelay: 4000, startDelay: 3000,
typeSpeed: 90, typeSpeed: 100,
backSpeed: 10, backSpeed: 30,
loop: true, loop: true,
shuffle:true, shuffle:true,
contentType: 'html' contentType: 'html'

Loading…
Cancel
Save