Oldal kiválasztása

We love to

Adding more than one typewriter effect
You can use this code to add multiple elements on your site that each type out different text. To do this:
1) Create your new element and give it an ID (e.g. typewriter2)
2) Create a copy of lines 81-83 in the script, where it says:

$(‘#typewriter’).typewritereffect({
text: [‘create.’,’design.’,’develop.’,’promote.’,’consult.’,’and lots more!’]
});
3) Update the jQuery selector in the copied code to use the ID of your element and also update the text values as you want, e.g.

$(‘#typewriter2’).typewritereffect({
text: [‘new text.’,’new text 2.’,’awesomeness.’,’yet another typed text.’]
});
3) Save the code!

This can be repeated for as many elements as you want on your site.