Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question What's the best way to insert a text file in a table

    I've been using iframe and can hide borders, scrollbars and make the text 'blend' into tables on a page but there must be a better way.
    I want to allow non-html users to simply write a text file or a Word doc that I can insert into tables on their webpages, I will overwrite the file each time it's changed (I upload to Hostway, manually). It's for basic content changes on a page where there are a number of 'targeted' tables where text (from different files) would go.
    Is there something to add to a table like {document.write("filename.txt")} or a script that I can use that would do the same cross browser?
    Thanks in advance

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    there are other ways using javascript, but what they amount to is more complicated ways of using an IFrame. you're really just better off using the iframe, here.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •