1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<style> .wrap{width: 1200px;margin: 0 auto;height: 100%;} #header{width: 100%;height: 80px;box-sizing: border-box;border-bottom: 1px solid #E6E6E6;position: relative;}
#manual_home{position: absolute;left: 105px;top: 20px;width: 136px;height: 41px;} .sch_bar{float: right;margin-top: 19px;position: relative;width: 290px;height: 40px;border: 2px solid #343434;border-radius: 20px;box-sizing: border-box;background: #fff;overflow: hidden;} #manual_sch{box-sizing: border-box;padding-left: 15px;padding-right: 15px;font-size: 16px;line-height: 38px;color: #808080;width: calc(100% - 48px);outline: 0;} #manual_sch + label{position: absolute;top: 0px;right: 0px;width: 46px;height: 38px;background: #fff;border-left: 2px solid #343434;cursor: pointer;} #manual_sch + label img{margin-top: 7px;margin-left: 9px;} </style>
<?php @extract($_GET); @extract($_POST); ?>
<div class="width_full"> <header id="header" style="position: relative;"> <a href="https://mjsoft.co/html/millennium/intro.php?pop=1" id="manual_home"><img src="../img/web_manual/webmanual_mainlogo.png" alt="À¥_¸Å´º¾ó_¸ÞÀηΰí"></a> <div class="wrap" style="display: flex;justify-content: space-between;"> <div style="width: 200px;"></div> <div style="width: 900px;"> <div style="width: 340px;display: inline-block;margin-top: 10px;"> <a href="./index.php"> <img src="../img/web_manual/guide_tit_img01.png" alt="À¥¸Å´º¾ó_Çì´õŸÀÌÆ²À̹ÌÁö" style="width: 100%;"> </a> </div> <div class="sch_bar"> <input type="text" name="stc" id="manual_sch" value="<?php echo $stc; ?>" placeholder="ãÀ¸½Ã´Â ¸Þ´º¸¦ °Ë»öÇØÁÖ¼¼¿ä."> <label for="manual_sch"><img src="../img/web_manual/icon_sch02.svg" alt="°Ë»ö¾ÆÀÌÄÜ" class="searchbtn"></label> </div> </div> </div> </header> </div>
<script> $(function(){ $(".searchbtn").click(function(){ var val = $("input[name='stc']").val(); document.location.href = "./index.php?stc="+val; });
$("input[name='stc']").keypress(function(){ if(event.keyCode==13){ $(".searchbtn").click(); } }); }); </script>
|