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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get my HTML login snippet to open in the browser

    To test the code, go to www.truefreight.com. Use USERNAME: tflrates , PASSWORD: password1

    Code:
    <form id="sign-up-form" name="sign-up-form" method="post" target="_self">
        <div align="left"><strong>LTL Customer Login</strong></div>
        <br/>
        <div class="common-text">User Name:</div>
        <input type="text" name="user_name" id="user_name" size="25" title="Name" value="" />
        <div class="common-text">Password:</div>
        <input name="user_pass" type="password" id="user_pass">
        <input name="user_source" type="hidden" id="user_source" value="51407D82-76E1-4C9C-9F73-376F1FE4221E"/>
        <input type="submit" name="sign-up-submit" id="sign-up-submit" title="Sign Up" value="Sign In" onclick="FormAction()" />
    
        <script type ='text/javascript' language='javascript'>
        function FormAction() {
            if (navigator.cookieEnabled) {
            }
            else
            {
                alert('Please enable cookies in your browser to login properly!');
                return false;
            }
            document.forms["sign-up-form"].action = "http://partner.myltl.net/FMSPLC/loginPartner.aspx";
        }
        </script>  
    </form>

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    What's the problem?
    Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
    Read Steve Krug's book Don't Make Me Think - essential reading on web usability
    I don't recommend much, but I do recommend Clook for UK web hosting


  •  

    Posting Permissions

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