SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    textarea readonly

    I have read all threads about textarea and didn't find one I could really execute in my scripts, so I'm here to ask you about a readonly textarea:
    1)in IE works fine putting just disable or readonly;
    2)in Netscape ==> ???. In one thread (I don't remember which one) someone said to to with javascript, using the onblur event (onclick="this.onblur") inside the textarea tag.

    I read what http://www.w3c.org says about it: there are readonly AND disable, but it says nothing (that I have seen) about which browser implements what. So I thought these arguments are both for IE and Netscape. The problem is Netscape does not work?

    What solution would you do to me: make two pages, recognizing which browser the client is? Or there is some way to do that with both browsers.

    Thanks for while.
    php? mysql? apache? That's it.

  2. #2
    Typo Negative brokenvoice's Avatar
    Join Date
    Dec 2001
    Location
    Scotland
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you use this:
    Code:
    <textarea onFocus="this.blur()"></textarea>
    Your textarea will effectively be read only.

  3. #3
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much brokenvoice. I don't know what I did before that didn't work.

    One thing else. Where can I get some tricks and tips about javascript stuff? It's a little hard to get it? I saw some in http://javascript.internet.com and http://www.javascript.com

    Where can I get really ones? Thanks.
    php? mysql? apache? That's it.

  4. #4
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    BOSTON
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    morning all,
    whenever i have a question bout something in navigator,
    i pick out these links off my "favorites" netscape folder
    http://developer.netscape.com/docs/m...uide/index.htm
    bout the most up to date documentation on objects and their methods,
    hopes this helps!
    PEACE

  5. #5
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok PCMOVER.

    But what if you want to make a site for both browsers (Netscape and IE - and other ones, of course). How can I deal with all new features?
    php? mysql? apache? That's it.

  6. #6
    SitePoint Zealot Drew630's Avatar
    Join Date
    Nov 2001
    Location
    Maryland
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since both IE and Netscape have (finally) decided to adhere to the standards of W3C, the current versions of both browsers will run code in the same way. Ex., you build for IE, it should run fine in Netscape 6. Earlier versions are still a problem, since they have their own compatibility issues, but in the future, I think we may have an easier go of it.

    Mind you still need to test for all browsers, so that your sure it works

    Drew
    ~Drew

    There Is No Greater Joy Than Soaring High On The Wings Of Your Dreams, Except Maybe The Joy Of Watching A Dreamer Who Has Nowhere To Land But In The Ocean Of Reality.

  7. #7
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This will force those people who does not have newer browsers adopt them. I say this because there are A LOT of people with "old" browsers. Do what, huh?
    php? mysql? apache? That's it.


Bookmarks

Posting Permissions

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