Page 1 of 1

Editing html content in IFRAME

Posted: Thu Nov 06, 2003 5:06 am
by ginnyows
i've been having this problem with IFRAME...trying to create a content editor, which will allow users to edit the selected html file in an iframe...
however...the file wouldn't load. if it does, it is not editable.

help, anyone???

thanks...

Posted: Thu Nov 06, 2003 11:35 am
by JAM
Perhaps displaying the code regarding how you actually try to display the html could help.

Personally I'd use a <textarea> for that, as an iframe is a different page, not a form element, hence messy (imho) to work with. Just a personal note tho. ;)

Posted: Thu Nov 06, 2003 12:04 pm
by ginnyows
i've tried <textarea>, but just felt like trying something new...
just curious...as no matter how i tried..iframe just cant work....
thanks anyway...

Posted: Thu Nov 06, 2003 12:15 pm
by JAM
ginnyows wrote:i've tried <textarea>, but just felt like trying something new...
just curious...as no matter how i tried..iframe just cant work....
thanks anyway...
Good (and interesting) approach. New is better... or so they say.

Do let us know what you've come up with so far. More eyes looking, more comments...

Posted: Sat Nov 08, 2003 12:11 am
by ginnyows
i'm now using text area. I passed the html contents into the text then embed an iframe in it. i then passed the contents to the iframe.

it's working!!!!