Purchase Advertising On AWT
 Upload & Sell Your Software
 Upload & Sell Your eBook
 Enter The AWT Control Panel  Contact Applied Web Tools
 Sell Your eBook @ The PDF Store  Password Troubles? Click Here!
Knowledge Center
Want to write for Applied Web Tools? Send your Writer's Query to
Editor@AppliedWebTools.net for details.
HTML
Reference
&
Tutorial
CSS
Reference
&
Tutorial
DOM
Reference
&
Tutorial
JavaScript
Reference
&
Tutorial
50+ Programming Examples
Use HTML, CSS, DOM & JavaScript Together
Misc. Essays & Documents
You'll Find Just About Anything In Here
50+ Web Page Constructions
Learn the Art of Using HTML, CSS, DOM & JavaScript Together
 Changing Background Colors
 Event Triggering With onLoad
 Disabling The Right Click
 DOM Driven Color Changing
 Switching Images
 innerHTML Attribute Access
 Change With innerHTML
 Changing Positions
 Change Position With onMouseMove
 Change Text Position
 Interactivity Skills
 Type-writing A Message
 Auto-changing Text Size
 Making Text Scroll
 Blinking Text
 Simple Form Authentication
 Change Background Color Of An INPUT
 Change Text Color Of An INPUT
 Change Background Image Of An INPUT
 Select All Checkboxes
 Select Color Of The Submit Button
 Change Text Color Of A Submit Button
 Insert Background Image To A Button
 Change Color Of Drop Down List
 Change Text Color Of A Drop Down List
 Change Color Of A TEXTAREA
 Change The Text Color Of A TEXTAREA
 Insert An Image Into A TEXTAREA
 Change The Size Of An Image
 Change The Source Of An Image
 Change The Position Of An Image
 Change The Background Image
 Moving Images Around The Page
 Drag & Drop An Image
 A Simple Image Viewer
 A Shaking Image
 A Digital Clock
 Drop Down List Link
 Top Drop Down Menu
 Always On Top Menu
 Inset Border Buttons
 A Description Generating Menu
 An Image Generating Menu
 A Horizontal Sliding Menu
 A Click Horizontal Sliding Menu
 Returning Cursor Co-ordinates
 Making Text Follow The Cursor
 Attaching An Image To The Cursor
scrolling text

This technique can be lots of fun. Including a section of scrolling text is a great way to add movement and character to your page without using Java applet, for example. The functionality is achieved purely via DHTML constructs and is very customizable to your needs. For appearance options and positioning options, just change the CSS rules applied to the SPAN tag given in the HEAD of the document.

<html>
<head>

<style>
span {
font:12px arial;
background:#CCCCCC;
position:absolute;
width:100;
height:500;
top:100;
clip:rect(0 100 100 0);
}
</style>

<script type="text/javascript">
var interval;
startPosition=0;
topPosition=100;
endPosition=100;
speed=50;

function scrollit() {
if (startPosition!=200)
{
startPosition=startPosition+1;
topPosition=topPosition-1;
document.getElementById('display').style.clip="rect(" + (startPosition + 1) + " 100 " + (startPosition + endPosition) + " 0)";
document.getElementById('display').style.top=topPosition;
interval=setTimeout("scrollit()",speed);
} else {
startPosition=0;
topPosition=100;
endPosition=100;
interval=setTimeout("scrollit()",speed);
}
}

function stopinterval() {
clearTimeout(interval);
}
</script>

</head>

<body onload="scrollit()" onunload="stopinterval()">

<span id="display>This text will scroll</span>

</body>
</html>


This is a largish sort of script, but the effect is great. It really isn’t complicated, there’s juust a few more statement that are required to activate a redraw with the information that the browser will need to perform said redraw. The scripted actions are called with onLoad and onUnload event handlers given in the BODY tag.
I do not employ cookies or tracking devices of any kind