i'm new to scripting but i've picked up the basics pretty well. i need to know if you can get text out of an external file. i know you can use an iframe or a text/x-scriptlet object (im not bothered about cross-browser compatibility, i only use IE5), but these are only good for dumping html files into a box on the page.
i really want to be able to read a .txt file from my site and use the data in it in my script. i want to use this for navigation links, to save me having to edit every page on my site whenever i add a new page. the text file would basically include a list of all the pages. i don't just want a list of all the pages on each page, i could easy use an iframe for that - i want next and previous buttons so i need to use script to process the list.
my programming experience is in simple compiled software, using vb, and bbcbasic before that (heaven forbid!!) so i'm used to just being able to open a file and read its data. can you do this in script programming? how?