<HTML><BODY STYLE="font:10pt verdana; border:none;"><DIV><FONT color=#330066>Here you are, Steve</FONT></DIV> <DIV><FONT color=#330066></FONT>&nbsp;</DIV> <DIV><FONT color=#330066>use an activeX object,</FONT></DIV> <DIV><FONT color=#330066>&nbsp;(if you are working on a intranet site-application, I prefer you, convert it into HTA.</FONT></DIV> <DIV><FONT color=#330066>Use FSO (the file system object) that can read, write, create, delete, move, append, etc to/from the system folder/file,</FONT></DIV> <DIV><FONT color=#330066>without prompting the user about the ActiveX activity).</FONT></DIV> <DIV><FONT color=#330066></FONT>&nbsp;</DIV> <DIV>Here is the JScript function to read an external .txt file:</DIV> <DIV>&nbsp;</DIV> <DIV><STRONG>function readExtTextFile(){<BR>&nbsp;&nbsp; &nbsp;var&nbsp;readIt = 1;&nbsp;<BR></STRONG><FONT color=#000066><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;fso=new ActiveXObject("Scripting.FileSystemObject");<BR></STRONG></FONT></DIV> <DIV><FONT color=#000066><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gotText=fso.OpenTextFile("TheTextFile.txt", readIt);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;theContent=gotText.ReadAll();</STRONG></FONT></DIV> <DIV><STRONG><FONT color=#000066></FONT></STRONG>&nbsp;</DIV> <DIV><STRONG><FONT color=#000066>alert(theContent)<FONT size=1>//this will retrieve the content and make sure it is available</FONT></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#000066 size=1>&nbsp;&nbsp;<FONT size=4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>//if you need any further asistance, e-mail...</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#000066></FONT></STRONG>&nbsp;</DIV> <DIV><STRONG>}<BR></STRONG><BR></DIV> <DIV>Regards, Bekim<BR></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; FONT-COLOR: black"><B>From:</B>&nbsp;Steve Hearne</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B>&nbsp;Friday, June 01, 2001 2:29 PM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B>&nbsp;javascript@LaTech.edu</DIV> <DIV style="FONT: 10pt Arial"><B>Subject:</B>&nbsp;RE: [Javascript] Marquee Scroller</DIV> <DIV><BR></DIV>Thanks for that. The situation is that i'm doing work on a company intranet based around some portal software and the page this scroller is to be placed in unfortunately HAS to be an HTML page or the portal software throws a wobbly!&nbsp;&nbsp; So, ASP is out of the question.&nbsp; I like your idea of opening a file though; i suppose i could open the fille and read its contents into a variable or array and then scroll that? Hmmmm...can you or someone point me in the direction of some tutorials for this (opening afile and readnig contents into var)! My ASP is better than my JavaScript which...needs working on.<BR>Thanks again,<BR>Steve <BR><BR><BR><BR>&gt;&gt;&gt; adunn@interworx.com.au 06/01/01 12:41PM &gt;&gt;&gt;<BR>Hi,<BR>&nbsp;&nbsp; You would have to go back to the server to get the text file, if you are<BR>using asp, use the file system object to open the file and search for<BR>whatever you want. It would probably be better to use a database for this<BR>though.<BR><BR>-----Original Message-----<BR>From: javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]On <BR>Behalf Of Steve Hearne<BR>Sent: Friday, 1 June 2001 7:23 PM<BR>To: javascript@LaTech.edu <BR>Subject: [Javascript] Marquee Scroller<BR><BR><BR>I am looking for a JavaScript scroller which allows the text which is to be<BR>scrolled to be retrieved from a text file...<BR>Anyone seen such a thing?<BR>Thanks,<BR>Steve<BR><BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu <BR>http://www.LaTech.edu/mailman/listinfo/javascript <BR><BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu <BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR><BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR> <DIV></DIV></BLOCKQUOTE></BODY></HTML><DIV><BR><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></DIV>