» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

JavaScript Text-Shaker
Make your text shake in order to draw more attention to your main message. This free script is crossbrowser: Internet Explorer 5x/6x/7x/8x, Firefox 2x/3x/4x, Opera 7x/8x/9x/10x, Google Chrome 3x/4x/5x.

As you can see, this is your shaking text.




Installation

Step 1: Open your webpage. Paste the following code anywhere into the <body>-section of your webpage:



Take care that the shaking text is placed on a separate line!

Step 2: Open your webpage. Go to <div>-container with the id "tremblebox" and edit the shaking text (red code only!):

<div id="tremblebox" style="position:relative">
<span id="trembletext" style="position:absolute;left:1px;top:0px;">
This is your shaking text
</span>
</div>