Initial commit
[2ch-be.git] / dev-test / include / header.php
blobba839e3a938f02559549bdc017671a7d99f1980d
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="Shift_JIS">
5 <title>ƒXƒe�[ƒ^ƒXƒy�[ƒW</title>
6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 <meta name="description" content="">
9 <meta name="author" content="">
10 <link href="<?php echo $livesitePath ?>css/bootstrap.min.css" rel="stylesheet"/>
11 <link href="<?php echo $livesitePath ?>css/style1.css" rel="stylesheet"/>
12 <link href="<?php echo $livesitePath ?>css/style2.css" rel="stylesheet"/>
13 <link href="<?php echo $livesitePath ?>css/dropdown-enhancement.css" rel="stylesheet"/>
14 <link rel="stylesheet" type="text/css" href="<?php echo $livesitePath ?>css/style.css"/>
15 <link type="text/css" rel="stylesheet" href="<?php echo $livesitePath ?>css/onoff.css" />
16 <script type="text/javascript" src="<?php echo $livesitePath ?>js/jquery-1.9.1.js"></script>
17 <script type="text/javascript">
18 $(document).ready(function() {
20 var $t = $('.pagination');
22 $('#trip_c').keyup(function(e){
23 var code = (e.keyCode ? e.keyCode : e.which);
24 if (code==13) {
25 e.preventDefault();
26 calctrip();
28 });
30 $('#caltrip').click(function(){
31 calctrip();
32 });
34 $('#btnMelon').click(function(){
35 $('#melonForm').slideToggle("fast");
36 });
39 $('#btnBE').click(function(){
40 $('#BEform').slideToggle("fast");
41 });
43 $('#btnMsg').click(function(){
44 $('#SendForm').slideToggle("fast");
45 });
47 $('#cancel').click(function(){
48 $('#SendForm').slideUp("fast");
49 });
51 // $t.animate({"scrollTop": $('.pagination')[0].scrollHeight}, "slow");
53 $( ".pagination" ).scrollTop( $('.pagination')[0].scrollHeight );
56 });
58 function calctrip(){
59 var ss = $('#trip_c').val();
60 ss = escape(ss);
61 $.post(
62 'trip.php',
63 {s:ss},
64 function(e){
65 $('#trip_c').val(e);
66 $('#caltrip').attr('disabled','disabled');
67 setTimeout(function(){
68 $('#caltrip').removeAttr('disabled');
69 },1000);
73 </script>
75 </head>