- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>SteamID Converter</title>
- <script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script>
- <script type="text/javascript" src="modal.js"></script>
- <script type="text/javascript" src="http://github.com/malsup/form/raw/master/jquery.form.js?v2.43"></script>
- <script type="text/javascript" src="steamid_converter.js"></script>
- <style>
- body {
- font-family:verdana;
- font-size:15px;
- }
- a {color:#333; text-decoration:none}
- a:hover {color:#ccc; text-decoration:none}
- #mask {
- position:absolute;
- left:0;
- top:0;
- z-index:9000;
- background-color:#000;
- display:none;
- }
- #boxes .window {
- position:absolute;
- left:0;
- top:0;
- width:440px;
- height:400px;
- display:none;
- z-index:9999;
- padding:20px;
- }
- #boxes #dialog {
- width:375px;
- height:205px;
- padding:10px;
- background-color:#ffffff;
- margin:4px;
- }
- .table{
- height:26px;
- line-height:26px;
- vertical-align:middle;
- text-align:left;
- font-size:18px;
- font-family:Tahoma, Geneva, sans-serif;
- }
- #close.table{
- float:right;
- margin:auto;
- border:2px solid #FFF;
- line-height:74px;
- vertical-align:middle;
- }
- #close:hover{
- border:2px solid #666;
- }
- #table{
- border-bottom:1px solid #000;
- }
- #input{
- font-size:15px;
- font-family:Tahoma, Geneva, sans-serif;
- }
- .submit{
- text-align:center;
- margin:auto;
- }
- .steamid{
- width:100px;
- height:auto;
- text-align:center;
- margin:auto;
- border:#03F;
- }
- </style>
- <script type="text/javascript">
- $(document).ready(function() {
- $("#steamidprofile.steamid").hide();
- $(".submit").click(function(){
- var ProfileID = $("#profileid").val();
- var SteamID = profileToSteamID(ProfileID);
- $("#steamidprofile.steamid").html(SteamID);
- $("#steamidprofile.steamid").fadeIn(slow);
- });
- });
- </script>
- </head>
- <body>
- <a href="#dialog" name="modal">Simple Window Modal</a></li>
- <div id="boxes">
- <div id="dialog" class="window">
- <table id="table" width="375">
- <tr>
- <td class="table">SteamID Converter!</td>
- <td><a href="#"class="close" /><img src="closelabel.gif" class="table" id="close" /></a>
- </td>
- </table>
- <br />
- <form name="Profile" method="get" action="">
- <div style="text-decoration:underline;">Profile ID (Numeric):</div>
- <div id="input">http://steamcommunity.com/profiles/
- <input name="profile" type="text" id="profileid" size="14" /></div>
- <div class="submit"><input type="button" value="Submit That Shit!" id="submit" /></div>
- <div class="steamid" id="steamidprofile"></div>
- </form>
- </div>
- <!-- Mask to cover the whole screen -->
- <div id="mask"></div>
- </div>
- </body>
- </html>