Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: Textarea

  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Textarea

    ok i want to put this <a href=" http://www.myspace.com/bootstompproductions">
    <img src="http://i2.photobucket.com/albums/y6/raceriot/14344_l.gif"0" height="100" width="200" alt="click here"></a>

    <a href="http://www.myspace.com/5starsforfailure">
    <img src="http://i4.photobucket.com/albums/y114/lev5stars/5%20stars%20for%20failure%20stuff/5sff-banner-3.jpg" height="100"
    width="200" alt="5 Stars For Failure...ADD THEM!"></a>

    <a href="http://www.myspace.com/shotblue"><img src="http://www.shotblue.com/images/bannermyspace.jpg" border="0" height="100" width="200" alt="SHOTBLUE"></a>

    <a href="http://www.myspace.com/forgiveorforgetmn">
    <img src="http://www.forgiveorforget.net/images/fof1.jpg" border="0" width="376" alt="Forgive or Forget" /></a>

    <a href="http://www.myspace.com/speakersforthedead" target="_blank"><img src="http://img183.echo.cx/img183/5582/myspace4mx.gif" border="0" title="check out Speakers for the Dead" width="300"></a>

    in a textarea but i want the actual images and links to show up, i don't want the code to show. is that possible?

  • #2
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No not in a textarea. Google for WYSIWYG editors.
    Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.

  • #3
    New Coder
    Join Date
    Mar 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is there a way you can put that stuff into an area where there is a scrollbar but not necessarily have it be a textarea?

  • #4
    Regular Coder
    Join Date
    Nov 2003
    Location
    Vancouver Island Canada
    Posts
    139
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use an Iframe.

  • #5
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Or a scrollable div.
    Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.

  • #6
    New Coder
    Join Date
    Mar 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    how do you do that?

  • #7
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Lets say you got this.

    Code:
    <div id="scrollingdiv">
        <!--some html code you have-->
    </div>
    Then the css would be like this:

    Code:
    #scrollingdiv {
    overflow:auto;
    width:400px;
    height:100px;
    border:1px solid #999;
    background:#ccc;
    padding:.5em;
    }
    Offcourse you can remove the backgroundcolor and border

    Got a link to your page?
    CATdude about IE6: "All your box-model are belong to us"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •