etherusb
Software Architect
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
200 XP
Good Day!!!
Today, we are going to learn about falling text effect, using HTML JavaScript. This script adds a simple twist to your regular text on your page. It will randomly falling or dropping the content text individually before the next text. You can use it in your site for it to have a simple headlines falling text effect.
In this work of script, every content is wrapped in a LI element of this work. All animation is provided by the CSS3. This script or work is compatible in all modern versions of browser.
Directions:
First: Kindly copy this code to the HEAD section of your page.
*Download the sourcecode for the external files. (Just click "Download Code")
Second: Simply add this code to your BODY section of the page.
So what can you say about this work? Share your thoughts in the comment section below and also, don’t forget to like this page. Practice coding. Thank you.
Download
Today, we are going to learn about falling text effect, using HTML JavaScript. This script adds a simple twist to your regular text on your page. It will randomly falling or dropping the content text individually before the next text. You can use it in your site for it to have a simple headlines falling text effect.
In this work of script, every content is wrapped in a LI element of this work. All animation is provided by the CSS3. This script or work is compatible in all modern versions of browser.
Directions:
First: Kindly copy this code to the HEAD section of your page.
- <link
rel
=
"stylesheet"
type
=
"text/css"
href
=
"fallingtext.css"
/
>
- <script
src
=
"js_1.js"
></
script
>
- <script
src
=
"jquery.js"
></
script
>
- <script
src
=
"fallingtext.js"
>
- </
script
>
- <script
>
- jQuery(function(){
- $('#headline').fallingtext({
- pause: 3000,
- cycles: 2,
- ontextchange:function(msgindex, msg, eachchar){
- }
- })
- })
- </
script
>
*Download the sourcecode for the external files. (Just click "Download Code")
Second: Simply add this code to your BODY section of the page.
- <ul
id
=
"headline"
class
=
"fallingtext"
style
=
"height:2em"
>
- <li
>
Sourecodester</
li
>
- <li
>
Blog, Articles</
li
>
- <li
>
Tutorials</
li
>
- <li
>
And Programming</
li
>
- </
ul
>
So what can you say about this work? Share your thoughts in the comment section below and also, don’t forget to like this page. Practice coding. Thank you.
Download
You must upgrade your account or reply in the thread to view hidden text.