»
EnglishFrenchVietnamese

Print - Wave Text script - JavaScriptBank.com

Full version: jsB@nk » Text » Imatitation » Wave Text script
URL: https://www.javascriptbank.com/wave-text-script.html

Wave Text script © JavaScriptBank.comSome effects are just too complex to render using plain DHTML yet, so this one enlists the help of IE's proprietary multimedia feature to create that nifty watery, wavy effect on text. Quite mesmerizing isn't it?

Full version: jsB@nk » Text » Imatitation » Wave Text script
URL: https://www.javascriptbank.com/wave-text-script.html



CSS
<Style type = "text/css"> .big { color: blue;font-family: monotype corsiva;font-size: 38pt;font-weight: bold}</style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script language = "JavaScript"><!--you can use this on your web page as long as the above stays in the script-->//Wave Text! by Spookdog ([email protected])var TimerID;var updown = true;var str = 1;function start(){          if (document.all)  TimerID = window.setInterval( "wave()", 100 );}function wave(){  if ( str > 20 || str < 1 )updown = !updown;  if ( updown )str++;   elsestr--;wft.filters( "wave" ).phase = str * 20;wft.filters( "wave" ).strength = str;}window.onload=start</Script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<h1><div ID = "wft" Style = "width:600px; filter:wave(add=0, freq=4, light=0, phase=0, strength=5)" class = "big">JavaScriptBank.com Website</div></h1><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->