Apt articles on health, wealth, happiness

Free text scrolling script, vertical

Link to this article!



If you know what you want, then on this page you will find a script you can use now, right now. So, what is the script you need? This script can do wonders for your web site. Look no further, if you want a free script that makes your text scroll vertically.

Author: AptArticle.com

Description: This script is a JavaScript that makes your text appear to scroll vertically. It works on one set of text of any length, and scrolls it continuously.

Demo: The following example shows what this script can do for you:
  • Notice that there is an initial delay of a few seconds.
  • Notice how, by editing, you can mofify the duration of this delay.
  • Notice how the scrolling pauses on mouse over.
  • Notice how, by editing, you can elimiate this pause.
  • Notice how, by editing, you can speed up the scrolling, or slow it down.

What is the cause of atherosclerosis?
Do you have high LDL cholesterol? Do you worry about, or do you have atherosclerosis? Atherosclerosis is a disease, a serious medical condition that can be frustrating to deal with. It is characterized by the deposition of plaques on the innermost walls of your arteries.


How do you lower your sex drive?
Do you have an abnormally high libido (sex drive)?
How do you lower your abnormally high sex drive?


The 10 common causes of persistent morning cough
What are the 10 common causes of the persistent morning cough? There are many common causes that many people don't even consider. Your persistent morning cough can be caused by a medical condition. Your persistent morning cough can be an early indication of lung disease.


How do you quit drugging yourself?
Do you take meds? Would you like to stop taking meds? And how do you stop taking meds safely?


What if you lose your mind?
Learn about it, discover what causes it, so you can prevent it. Yes, you can prevent Alzheimer's. Yes, you can cure Alzheimer's.


How can you tell that Dukascopy sucks?
Dukascopy sucks because because it's an unpleasant experience, and a highly expensive proposition, and you're a fool, if you use them!


How do you prevent impotence?
What are the common causes of ED (erectile dysfunction, impotence)? There are many common causes and several common causes that many people don't even consider. The ten common causes of ED (erectile dysfunction, impotence) are as follows...


How do you prevent breast cancer?
How do you prevent breast cancer? How about breast cancer awareness? How about medical doctors? And how about this country's cancer industry?


How do you prevent a diverticulitis attack?
Do you have diverticulitis or diverticulosis?
Are you worried about diverticulitis or diverticulosis?
How do you prevent diverticulitis, and how do you prevent a mild diverticulitis attack?


How do you lose weight, for free?
Are you aware that residents of the world's richest countries are increasing unable to lose weight? Are you aware that, in a few years, three out of four Americans will be overweight? Follow these instructions, and you will really lose weight, for free!


How do you avoid mammograms?
Are you aware that mammograms do more harm than good? Do you know that breast cancer screening does not save lives, while radiation associated with it does cause breast cancer?


What causes atherosclerosis?
Do you have high LDL cholesterol? Do you worry about, or do you have atherosclerosis? Atherosclerosis is a disease, a serious medical condition that can be frustrating to deal with. It is characterized by the deposition of plaques on the innermost walls of your arteries.


What causes impotence?
Erectile dysfunction (ED) can be caused by many things, such as medical conditions, stress, and psychological issues.


How do you stop your morning cough?
How do you stop your morning cough that just doesn't go away? The persistent morning cough can be a frustrating symptom deal with.


How to give yourself cancer
Do you want to give yourself cancer? How to give yourself cancer in seven easy steps; including breast cancer, prostate cancer, and colon cancer.


Do you live longer, if you lose weight?
They all laughed at me when I said, I could tell how long you're going to live. Ha, ha, ha! Who is laughing now? If you tell me what your height and weight are, I will tell you how long you're going to live!


Directions:

Step 1: Copy the following code, and add it to the 'body' section of your web page.

<div id="ShowDemo" onMouseover="copyspeed=pausespeed"
        onMouseout="copyspeed=scroll_speed">
<div id="vscroller" style="position: absolute; width: 95%;">

Your text message line #1... /* may edit */
<br><br>
Your text message line #2... /* may edit */
<br><br>
Your text message line #3... /* may edit */
</div>
</div>
 


Step 2: Copy the following code, and add it to the e 'CSS' file of your web site.

#ShowDemo{
font-family: Arial;      /* may edit */
font-size: 15px;          /* may edit */
font-color: #000000;       /* may edit */
position: relative;
width: 400px;               /* may edit */
height: 200px;               /* may edit */
background-color: #F1F1F1;    /* may edit */
overflow: hidden;
border: 1px solid #0000A0;      /* may edit */
border-left: 10px solid #0000A0;  /* may edit */
padding-left: 30px;                /* may edit */
}
 


Step 3: Copy the following code, and add it to the 'head' section of your web page.

<script>
var initial_delay=2000     // Initial delay     /* may edit */
var scroll_speed=1      // Scroll speed        /* may edit */
var pause_or_not=1    // Pause on mouse over  /* may edit */

/******* DO NOT EDIT BELOW THIS LINE ************/

/*********************************************************
* Copyright © AptArticle.com (http://aptarticle.com)
* This notice MUST stay intact for legal use.
* Visit http://aptarticle.com/ for this script and hundreds more.
*********************************************************************/

var copyspeed=scroll_speed
var pausespeed=(pause_or_not==0)? copyspeed: 0
var actualheight=''

function scroll_vertical(){
if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
else
cross_scroller.style.top=parseInt(scroller_height)+8+"px"
}

function initialize_scroller(){
cross_scroller=document.getElementById("vscroller")
cross_scroller.style.top=0
scroller_height=document.getElementById("ShowDemo").offsetHeight
actualheight=cross_scroller.offsetHeight
setTimeout('lefttime=setInterval("scroll_vertical()",30)', initial_delay)
}

if (window.addEventListener)
window.addEventListener("load", initialize_scroller, false)
else if (window.attachEvent)
window.attachEvent("onload", initialize_scroller)
else if (document.getElementById)
window.onload=initialize_scroller
</script>
 


Step 4: You may edit the code you've copied in steps 1 through 3.
However, in your own interest, do limit your editing to the 15 lines we marked /* may edit */.

Step 5: Enjoy, and have fun using it!

Tell a friend!