zoukankan      html  css  js  c++  java
  • 个人作业2 前端

    1、主页面

    index.html

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>顶会查询</title>

    <link rel="stylesheet" type="text/css" href="css/style.css">

    <script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="js/vector.js"></script>
    <style type="text/css">
    body{
    background:url("./backs.jpg");
    background-repeat:repeat;
    background-size:1600px 800px;
    background-position-center:100%;
    }
    </style>

    <style>
    input[type=submit] {
    200px;
    background-color: #E6E6FA;
    color: #8A2BE2;
    padding: 14px 20px;
    margin: 100px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    }
    h1
    {
    margin: 40px 0;
    font-family:STKaiti;
    font-size:50px;
    color: #8A2BE2;
    text-align:center
    }
    </style>
    </head>
    <body>
    <div id="container" align="center">
    <div align="center">
    <h1>欢迎</h1>
    <font style="color: #8A2BE2;text-align:center">-----------------------------------------------</font>
    <div align="center">
    <form id="entry_form">
    <input type="submit" id="entry_btn" value="论文查找" formaction="indexs.jsp" formmethod="post"/>
    <input type="submit" id="entry_btn2" value="热词分析" formaction="show.jsp" formmethod="post"/>
    </form>
    </div>
    </div>
    </div>
    <script type="text/javascript">
    $(function(){
    $("#entry_name").focus();
    $(document).keydown(function(event){
    if(event.keyCode==13){
    $("#entry_btn").click();
    }
    });
    });
    </script>
    </body>
    </html>

  • 相关阅读:
    jQuery遍历节点方法汇总
    python_30期自动化【艺龙酒店】
    python_30期【条件判断语句】
    python_30期【os模块 path处理路径】
    python_30期自动化【类的封装】
    python_30期【函数里面的位置参数/默认参数】
    python_30期【while循环】
    python_30期【http_requsts】
    python_30期【类方法之间的调用 return】
    python_30期【实例函数 类里面的函数】
  • 原文地址:https://www.cnblogs.com/lx06/p/14907776.html
Copyright © 2011-2022 走看看