parse text file to pass to scrolling marquee

Author Message
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)
0
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
 
#1
    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)
    0

     
     
    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...
    For more information, please see the "Read me First" topic.

    http://www.visualbasicscript.com
     
    #2
      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)
      0
      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

       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9