homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

bringing .txt files into text box
Should be extremely easy, just can't think of the code.

10+ Year Member

Msg#: 1019 posted 2:18 am on Sep 7, 2001 (gmt 0)

I need to open a .txt file into a large text box i put in the middle of a webpage that i have. The user is to pick a few specifications and then i have javascript making a file name out of them... i can get a picture to change to the right filename, but i need the text box to open a different text file too. - please help, i've been looking all over for help.



WebmasterWorld Senior Member 10+ Year Member

Msg#: 1019 posted 9:06 am on Sep 7, 2001 (gmt 0)


I'm not 100% clear on what you're trying to do. I use teat areas on my site for people to copy prepared HTML to link to my site, as well as for other purposes. I'll send you a sticky with the URL of an example. See if this is what you mean. Otherwise, from what you're describing, it sound like you might need to use a frames page or I-Frame. In the mean time, here's the way I set up teat areas in a page:

<form name="code1" action="">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<td width="100%" align="center">
<textarea name="code1" cols="40" rows="5" >



And if you're wondering why it has <form></form> it's to make NN4 happy. Name is optional. action="" makes HTML validator happy.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved