2013年8月7日 星期三

html header template html-template


<!doctype html>
<html lang="en">
<head>

<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="images/Yours.png" type="image/x-icon" />
<style type="text/css">
    input[type="text"][disabled] {color:black;}
</style>
<link href="css/general.css" rel="stylesheet" type="text/css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/JavaScriptUtil.js"></script>  <!--http://javascriptools.sourceforge.net/samples/sample_mask.html-->
<script src="js/Parsers.js"></script>  <!--http://javascriptools.sourceforge.net/samples/sample_mask.html-->

<script src="js/InputMask.js"></script>  <!--http://javascriptools.sourceforge.net/samples/sample_mask.html-->
<script src="js/jquery.freezetable.js"></script>
<body>
</body>
<script>
  function messagebox(divName,divWidth,divHeight){
 /*e.g.  <a href="#" onClick="messagebox('#resetPassword',900,600);">Reset Password</a>*/
  $(function() {
        $(divName).dialog({
            modal: true,
minHeight: divHeight,
minWidth: divWidth,
            buttons: {Send: function() {$( this ).dialog( 'close' );}}
        });
    });}

 $(document).ready(function() {
                $('#box-table-a').freezeTable({
                    'autoHeight': false,
                    'height'    : 160
                });
            });

 function setup() {
        //Set up the date parsers
        var dateParser = new DateParser("dd/MM/yyyy HH:mm");
   
        //Set up the InputMask  
        var upperMask = new InputMask(fieldBuilder.upperAll(), "IDName");
        var numericMask = new InputMask(JST_MASK_NUMBERS, "numeric");
        var decimalMask = new InputMask(JST_MASK_DECIMAL, "decimal");
        var upperMask = new InputMask(fieldBuilder.upperAll(), "Nameupper");
        var lowerMask = new InputMask(fieldBuilder.lowerAll(), "lower");
        var capitalizeMask = new InputMask(fieldBuilder.capitalizeAll(), "capital");
        var dateMask = new InputMask(JST_MASK_DATE, "date");
        var dateTimeMask = new InputMask(JST_MASK_DATE_TIME, "dateTime");
}

</script>
</head>
<body>
<input type="button" id="exit" name="exit" value="EXIT" style="display:inline; float:right;" >
<!--history.go(-1);return true;-->
</body onload="setup()">

</html>

沒有留言:

張貼留言