PDA

View Full Version : textarea html


bparker.com
6-19-02, 10:56 AM
I'm having a little problem with a textarea--is it possible to have the text box translate html? Basically, I'm customizing a weblog index page with a textarea (where the log will go). When the log gets pulled in, it contains html that just appears as text. Here's what it looks like: http://www.bparker.com/gmtest/?

Any help is sincerely appreciated. Thanks!

Bill

RSaucier
6-19-02, 11:10 AM
Can't help you much on your question but, by God, I love your 404 page! :D

Can I steal it?

Robert

bparker.com
6-19-02, 11:12 AM
:D

How funny--sure, be my guest! Glad that you like it. After all, that's why I made it!

By the way, did you click on the "Head of Microsoft Support"?

:)

alphadesk
6-19-02, 11:51 AM
bparker.com,

I went to greymatter and looked at 10 or so examples. I did not find any of them that are inserting the log in as you have in its on frame. Could this have someting to do with why it will not display correct.

bparker.com
6-19-02, 11:59 AM
Alpha,

I'm not really sure--I was hoping I could get it to work. It uses the BLOCKQUOTE command to pull in the log, so what happens is the text area simply posts everything in between the textarea command, including the BLOCKQUOTE command. Is there a command to use with the textarea command to instruct it to recognize the input of html?

alphadesk
6-19-02, 12:09 PM
Can you change the value here to .htm or htm

http://www.bparker.com/gmtest/archives/00000001.htm

<textarea rows="20" cols="48" value="html">

Worth a try and see if it makes a difference.

rh0926
6-19-02, 12:16 PM
Would the iframe tag work here? Or is it even applicable in this situation?

I know it will bring in another web page and keep all of the formatting as HTML.

I think the tag is something like this:

<iframe src="www.yoursite.com/yourpage.htm" Width="100%" Height="100%"> </iframe>

Just my 2 cents.

alphadesk
6-19-02, 12:21 PM
The text area tag will probable only drag text. The iframe tag may do the trick. Worth a try.

bparker.com
6-19-02, 12:36 PM
Yeah--thanks you guys! I think that may work. I added the code and it does what it's supposed to, but I have to figure out how to get it to pull in the {{logbody}}. It 404's that log. At the very least, if I can't figure out how to link to the log, I can do a workaround now.

Thanks a bunch for your help you guys!

bparker.com
6-19-02, 04:39 PM
Yeah Baby!!!

http://carolanne.bparker.com/news/news.htm


Thanks for that idea, rh, and thanks for the help Alpha!

Bill

alphadesk
6-19-02, 04:56 PM
Great,

Keep that little trick with GreyMatter handy, others may want to use it.