|
|
|
This example helps you to apply Wave effect to Text using Javascript. Please go through code to see wave effect...
| <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Welcome</title>
<Style type = "text/css">
.bigtext { color: red;
font-family: Trebuchet MS;
font-size: 38pt;
font-weight: bold}
</style>
<script language = "JavaScript">
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++;
else
str--;
wft.filters( "wave" ).phase = str * 20;
wft.filters( "wave" ).strength = str;
}
window.onload=start
</Script>
</head>
<body>
<div ID = "wft" Style = "width:600px; filter:wave(add=0, freq=4, light=0, phase=0, strength=5)" class = "bigtext">
Welcome </div>
</body>
</html> | | |
|
| Cool tool tip Categories : Java Script, HTML, Web Design | | | Builds JavaScript that updates the contents of one selector based on another. Categories : HTML, Java Script, PHP, Complete Programs, General | | | Form Processing : with alert Highlight field name which is not filled by user Categories : Java Script, Form Processing, Data Validation, Beginner Guides, Web Design | | | Javascript Background Scroller Categories : Java Script, CSS, HTML | | | How to create <SELECT> menues that change on the fly according to other <SELECT> menues on the page? Categories : Java Script, HTML | | | Rollover Image link effect using only single image. Categories : Web Design, HTML, CSS, Beginner Guides | | | CSS Container BOX , with cool CSS Design Categories : CSS, HTML, Web Design | | | Prevent Right Mouse steal your graphics Categories : HTML, Java Script, Security | | | Conditional Check - a script that allows a user to submit a form only if the user check a checkbox. Categories : HTML, Java Script, Form Processing, Beginner Guides | | | Javascript linked dropdowns Categories : Java Script, HTML, Classes and Objects | | | Javascript animated menu items Categories : DHTML, CSS, Java Script, HTML | | | Page Loading Message shown during the time your site's page is being loaded. Categories : HTML, CSS, Java Script | | | complete simply working javascript password generator file. Use letter, vowels, consonants (uppercase and lowercase) arrays to create a really random and secure password.
improved security using time functions to initialize random number generator. Categories : Java Script, HTML, Security, Authentication, Strings | | | Bookmarklets are simple tools that extend the surf and
search capabilities of Netscape and Explorer web browsers. Categories : Java Script, HTML, General | | | How to get the Focus (Cursor) into a Form-Element. Categories : HTML, Java Script | |
| | | | tvks swamy wrote :1697
Excellent ! Exquisite ! Exemplary !
Great ! Keep it up !
| |
|
|
|