Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Forms

  1. #11
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:


  2. #12
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Using terms you have to use urbandictionary to define the meaning for.. story of your life Luke :8
    Back for a while.

  3. #13
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by L?KE View Post
    WOOT!

    <input type="text" name="lucasFTL" onFocus="this.style.color='red'" />
    <input type="text" name="lucasFTL" onFocus="this.style.color='#FF0000'" onBlur="this.style.color='#000000'" />

    Would look better if you used backroundColor imo.

  4. #14
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    It's a bit like NTL but it's not bankrupt.

  5. #15
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    @Jxhn, I'm not just changing the bg colour.

    For anyone who cares or could do with it, I styled each one accordingly

    (.normal {} , .active{} )

    and then implemented the following:
    Code:
    <script type="text/javascript">
    
      function focusIN(what) {
    
          if(what.className == "normal") {
    
              what.className = "active";
    
          }
    
      }
    
      function blurIN(what) {
    
          if(what.className == "active") {
    
              what.className = "normal";
    
          }
    
      }
    
      </script>
      <input type="text" name="text" value="Text Input" class="normal" onFocus="focusIN(this)" onBlur="blurIN(this)" />
    Last edited by L?KE; 24-11-2008 at 06:03 PM.


Page 2 of 2 FirstFirst 12

Posting Permissions

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