Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org Home Page, Thursday December 18, 2008 at 07:40:16

You are here: irt.org | About | Feedback | 5340 [ previous next ]

Feedback on:
irt.org Home Page

Sent by
V.J on Thursday December 18, 2008 at 07:40:16

Worth:
Very worth reading

Length:
Just right

Technical:

Comments:
RE scrolling text . . . help . . . what would the code be for reading the scroller text from a file rather than hard hammering the message within the <script /> tags. I have people who will inadvertently maul the markup if given a chance. I'd rather they just worked with an external txt or html file.

(Great work . . . best scroller I've found. Most don't provide a stop button. NECESSARY.)

<SCRIPT LANGUAGE="JavaScript">
<!--
var scroll2 = true;
var myDir = 'L';
//keep leading and lagging spaces for delay between repeats
var scrollingText2 = "


MESSAGE FROM EXTERNAL FILE HERE instead of typing "hello world" here.

";

function scrollit2() {
if (scroll2) {
document.scrolling2.textbox.value = scrollingText2;
if (myDir == 'L')
scrollingText2 = scrollingText2.substring(1) +
scrollingText2.substring(0,1);
else
scrollingText2 = scrollingText2.substring(scrollingText2.length-1,scrollingText2.length) +
scrollingText2.substring(0,scrollingText2.length-1);
setTimeout('scrollit2()',120);
}
}
//-->
</SCRIPT>




Other feedback on 'irt.org Home Page' - show all

©2018 Martin Webb