homepage Welcome to WebmasterWorld Guest from 107.22.37.143
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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.
SNAFUsamarai




msg:612487
 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.

 

Marshall




msg:612488
 9:06 am on Sep 7, 2001 (gmt 0)

SNAFUsamarai,

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">
<tr>
<td width="100%" align="center">
<textarea name="code1" cols="40" rows="5" >

TEXT GOES HERE

</textarea>
</td>
</tr>
</table>
</form>

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved