making an iframe into an input area

Posted on 2005-04-11
Last Modified: 2010-04-09
Hi, On my web based email account I have a compose message. This is an Iframe which somehow is used instead of a text area. This would better suit my needs for my website. Any ideas on how to do it?
Thank you in advance.
Question by:jdav3579
    LVL 6

    Accepted Solution

    Do you have a link to see what you mean?

    Otherwise, the iframe code would look something like this:

    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <iframe name="I1" src="bottom.htm" target="contents">
    Your browser does not support inline frames or is currently configured not to display inline frames.
    LVL 31

    Assisted Solution

    It probably is not an iframe.

    for firefox there is this

    <SCRIPT src=""></script>
    <div style="-moz-user-modify: read-write;-moz-user-input: enabled;-moz-user-select:
    normal;height:300;width:500;border:1px solid black;overflow:scroll">

    Editable area type in here

    for IE there is this

    <div style="height:300;width:500;border:1px solid"  contenteditable>
    Editable area type in here
    LVL 23

    Assisted Solution

    It is easy enough to put a textarea field within an Iframe on a page, and load that, but the Iframe would not be necessary, unless it is following the general site layout -- i.e. a text area is loading into an existing Iframe.  Why not do a "view source code" to fine out for certain?

    Author Comment

    Unfortunately the only example I have is after logging into my email account. I have tried to view the source but there is a lot of it and is bit too complicated for me! as its seems to be a lot of javascripting. I found on the page a mention of Iframes and it is the only iframe on the page, so am guessing that it is it! Here is the source of it and around it:
    There is loads of code before and after it though!

    <body onbeforeunload="OnBeforeUnload();">
    <iframe id="spaceidframe" name="spaceidframe" src="about:blank" style="visibility:hidden;position:absolute;height:1px;width:1px"></iframe>


    LVL 23

    Expert Comment

    That is not likely to be it.  If it is an input area where you can enter text, you should be looking for a tag like --

    <FORM><TEXTAREA rows="12" cols="60" name="input"></TEXTAREA></FORM>

    Look for the FORM tags, they are key to any input you will provide on the page, and they will enclose the textarea tag, where you input the data, as I understand what you are looking for...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    "I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
    Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now