canuc0
-
Total Posts
:
3
- Scores: 0
-
Reward points
:
0
- Joined: 7/30/2006
-
Status: offline
|
parse text file to pass to scrolling marquee
Sunday, July 30, 2006 10:16 PM
( permalink)
Hi, New to the forum. Not entirely newbie to vbscript, but definately not guru. I have an intranet site where I want to allow an office user (standard user, no admin privs) to write to a text file. I want to be able to parse the textfile and use it as a scrolling marquee on the intranet website for occassional alerts. In short, I need to call this text file from an htm file that has either html marquee tags or javascript. Is there an easy way to do this? Not sure how to go about it. My javascript is poor, and I don't know if it is possible to do in vbscript. Hope that makes sense. Not looking for someone to do the script, but a 'guiding light' would be much appreciated! Ta! Canuck
|
|
|
|
Snipah
-
Total Posts
:
1339
- Scores: 8
-
Reward points
:
0
- Joined: 11/1/2004
- Location: Scotland
-
Status: offline
|
RE: parse text file to pass to scrolling marquee
Monday, July 31, 2006 3:24 AM
( permalink)
Your best choice would be to use AJAX, there you have Javascript to use in the browser and XML file which holds the MARQUEE data....perfect for this type of webembedded application...
|
|
|
|
canuc0
-
Total Posts
:
3
- Scores: 0
-
Reward points
:
0
- Joined: 7/30/2006
-
Status: offline
|
RE: parse text file to pass to scrolling marquee
Monday, July 31, 2006 11:32 AM
( permalink)
Thanks. Spent hours trying to find a way, then minutes after posting, found a solution - sort of. Here's the way to do it, in case anyone else has had problems with this. It involves calling the text file from javascript in the browser. The textfile has code in it so that javascript recognises it to parse it. Now all that needs to be done is give access to the user to the textfile with a vbscript to modify applicable text. Hope this liink helps anyone out there that has needed to do the same thing. http://www.netmechanic.com/news/vol4/javascript_no9.htm
|
|
|
|