DHTML script
 

SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & Ajax
Snippets
Online scripts

Ajax, DHTML
& JavaScripts

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers
Add script
Account login
Publisher list



 

Home > Scripts > DHTML scripts & JavaScripts > Scrollers > Dynamic scroller

 

Dynamic scroller script

AUTHOR: Submitted by Ron Grafe
TYPE: Freeware
BROWSERS: IE 4+, IE 5+, IE 6+, NS 4+, NS 6+

A scroller that allows you to manually control the scroll. You can scroll down, scroll up, jump to the top, or stop the scroll at any time. When you place your cursor over a link in the scroll box or when it reaches the bottom or top it will stop. You can add links within the scrolling text or format the text in any way you like using standard HTML tags. You can also add small graphics.


EXAMPLE

Down

Up

Stop

Top


 SimplytheBest.net


Shareware & Freeware
DHTML Scripts & Javascripts
CGI Scripts
Free online games
Free Fonts
Blogs
Music directory
Sounds archive
Web search

 PlanMagic.com

PlanMagic Business
professional business plan software
PlanMagic Marketing
professional marketing plan software
PlanMagic Finance Pro
financial calculations were never this easy
PlanMagic Hotel
professional hotel plan generator
PlanMagic Restaurant
the only restaurant business plan generator


1)
Insert the following code with the script inside the <BODY> section where you want the scroller to appear on the page.

then copy (CTRL-C) & paste (CTRL-V)

 

2) Define the content to appear inside the scroll box in this section of the script:

<!--INSERT CONTENT HERE-->
<b><font style="color: black" size="1" type="times" face="Arial"><br></font>
<font type="times" size="2" style="color: black" face="Arial">SimplytheBest Scripts</font></b>
<font type="times" size="2" style="color:black"><br><hr size="1" color="#008080"></font>
<table>
<tr><td valign="top"><font face="Verdana" size="1" type="times" style="color: black">•</font></td>
<td><font face="Verdana" size="1" type="times">
<a href="scripts/DHTML_scripts/" onmouseover="stopall()">DHTML Scripts & Javascripts</a></font></td></tr>
<tr><td valign="top"><font face="Verdana" size="1" type="times" style="color: black">•</font></td>
<td><font face="Verdana" size="1" type="times">
<a href="scripts/perl_scripts/" onmouseover="stopall()">CGI Scripts</a></font></td></tr>

3) Define the scolling speed and the style of the scoll box in this section of the script:

var scrollspeed = 40 // the lower the faster

<!-- Container setup -->
if (iens6){
document.write('<div id="container" style="position:relative;width:155;height:160px;overflow:hidden;border:1px ridge white">')

And in this section of the HTML code:

<table width="155" cellspacing="0" border="1" bgcolor="#E1F0F0" bordercolor="#008080" bordercolorlight="#FFFFFF">
<tr>
<td width="25%" align="center" valign="bottom">
<a href="Javascript:scrolldown()"><b><font face="Verdana" size="2">Down</font></b></a>
</td>


For more information you can visit
Ron Grafe's web site.


[BACK] [TOP]

 


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.