* Home
* FrontPage Hosting
* mySQL Hosting
* Dedicated Servers
* Managed Services
* Domain Parking

Direct Email Marketing with Constant Contact

Search our FrontPage Support Area
FrontPage Support Area Site Map


How to use JavaScript to insert a marquee that works in most browsers

  1. Open the page (or create a page) in FrontPage Editor where you want the marque.
  2. Position your cursor where you want to place the tags.
  3. Click on Insert, HTML Markup.
  4. Paste the following code within the HTML Markup:

<script language="javascript">
<!-- Ticker Tape in Java Script .. Cameron Gregory cameron@bloke.com
// http://www.bloke.com/
// http://www.bloke.com/javascript/TickerTape/
var tickertapeform
speed=100
len=75
space=" "
tid = 0;
message="TickerTape in JavaScript .. by Cameron Gregory .. cameron@corona.att.com .. visit my home page at http://www.att.com/homes/cameron/ or http://www.cs.jcu.edu.au/~cameron/"
c= -len;

function move() {
cend=Math.min(c+len,message.length)
if (c <0)
cstart=0
else
cstart=c
if (c < 0)
f.scroll.value=space.substring(0,-c) + message.substring(cstart,cend)
else
f.scroll.value=message.substring(cstart,cend)
c = c +1;
if (c == message.length ) c = -len;
tid=window.setTimeout("move()",speed);
}


function start(x) {
f=x
tid=window.setTimeout("move()",speed);
}

function cleartid() {
window.clearTimeout(tid);
}

// for some reason on some pages this crashes netscape
function ticker(m,l,s)
{
message=m
len=l
speed=s
document.write('<FORM name=tickertapeform><input name=scroll size=')
document.write(len)
document.write(' value=""></FORM>')
start(document.tickertapeform);
}

// for some reason on some pages this crashes netscape
function ticker(m)
{
message=m
len=75
speed=100
document.write('<FORM name=tickertapeform><input
name=scroll size=75></FORM>');
start(document.tickertapeform);
}

// end-->
</script>

  1. Click on OK.

Peter Abraham


Direct Email Marketing with Constant Contact


Dynamic Net, Inc.

Legal Notices; Copyright © 1996 - 2006 Dynamic Net™, Inc. All rights reserved.
See our privacy statement for questions on how we use information gained by our site.
Managed Services provided by We Manage Servers; hosted by Dynamic Net, Inc.
Last updated: Thursday November 16, 2006 18:22 -0500