-
Tickertape....
Hi,
Me again!
Ok, what I'm now trying to do is to place a scrolling marquee at the bottom of the page. This is going to hold information about system status and similar stuff. Some of this information will be links to further details.
So far so good, what I want to do, however, is to use the mouseover() event of the links to stop the marquee from scrolling (and start it again when the mouseout() event happens). How do I access this property of the marquee?
Also, I'd like to have the text continuous. Is it possible to set one up so that the beginning of the repeat of the marquee text immediately follws the end, rather than waiting until the text has disappeared off the left before starting again?
Yet again, thanks in advance!
-
marquee?????? <marquee?????? nope, don't do it. afaik it's ie-only and will probably disappear soon.
see the tutorials at www.htmlgoodies.com for a 'tickertape'
if i'm offbase, post the code you have
Vinny
-
Thanks Vinny!
Doh! I don't have any code (yet) so nothing to post, I'm afraid.
That's damned anoying, I had a look on the site you mentioned, but couldn't find anything... :-(
Oh well, I'm sure I'll get something sorted!
Paul
-
Here's a nifty code snippet I scraped off of a web site called DS Effects some time ago.
I think you'll like it.
Code:
<script type="text/javascript" language="JavaScript">
<!--
var author="www.dseffects.com";
var DS_ScrollText="DS Effects - Cool applets, scripts and midlets";
var DS_Speed=(5-(1))*25;
document.write("<form name=\"ds_form\"><input type=\"button\"
name=\"ds_scrollb\" value=\"\" onClick=\"java
script:window.location.href="http://www.dseffects.com"\"
style=\"background-color:#ffffff;font-size:9pt;color:#000000;
font-family:verdana\">" );
var DS_ScrollCounter = 0;
var DS_I = 0;
while(DS_I++ < 4) { DS_ScrollText=" " + DS_ScrollText; }
function DS_ButtonScroll() {
document.ds_form.ds_scrollb.value = DS_ScrollText.substring(DS_ScrollCounter, DS_ScrollText.length) +
DS_ScrollText.substring(0, DS_ScrollCounter);
DS_ScrollCounter++;
DS_ScrollCounter%=(DS_ScrollText.length);
setTimeout("DS_ButtonScroll()", DS_Speed);
}
DS_ButtonScroll();
//-->
</script>
-
took 2 tries search for "text scroller"
this one does it in the status bar, can be modified
http://htmlgoodies.earthweb.com/JSBo...ignment43.html
I seem to remember one or two others there. you might also search www.dynamicdrive.com and www.javascript.com
Vinny