首页 > 软件开发 > JQUERY >

html+jquery搜索热门关键词

来源:互联网 2023-03-16 23:54:48 192

html jquery搜索框显示热门关键词下拉显示固定下拉文字ojL办公区 - 实用经验教程分享!

工具/原料

  • adobe dreamweaver

方法/步骤

  • 1

    准备好需要用到的图标。ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 2

    新建html文档。ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 2该信息未经许可获取自百度经验
  • 3

    书写hmtl代码。ojL办公区 - 实用经验教程分享!

    div class="header_top"> /div>ojL办公区 - 实用经验教程分享!

    div class="searchbox mt1">ojL办公区 - 实用经验教程分享!

    div class="search w960 center">ojL办公区 - 实用经验教程分享!

    form name="formsearch" >ojL办公区 - 实用经验教程分享!

    div class="form">ojL办公区 - 实用经验教程分享!

    div class="form_left">ojL办公区 - 实用经验教程分享!

    div class="form_right">ojL办公区 - 实用经验教程分享!

    div id="searchtype">ojL办公区 - 实用经验教程分享!

    div id="searchvalue">全部素材/div>ojL办公区 - 实用经验教程分享!

    div id="boult">▼/div>ojL办公区 - 实用经验教程分享!

    ul id="valuelist" style="display:none">ojL办公区 - 实用经验教程分享!

    li title="1">全部素材/li>ojL办公区 - 实用经验教程分享!

    li title="4">图片/壁纸/li>ojL办公区 - 实用经验教程分享!

    li title="2">矢量/li>ojL办公区 - 实用经验教程分享!

    li title="3">PSD/li>ojL办公区 - 实用经验教程分享!

    li title="7">字体/li>ojL办公区 - 实用经验教程分享!

    li title="5">网页模板/li>ojL办公区 - 实用经验教程分享!

    li title="6">图标/Icon/li>ojL办公区 - 实用经验教程分享!

    li title="10">PPT/li>ojL办公区 - 实用经验教程分享!

    li title="9">音效/li>ojL办公区 - 实用经验教程分享!

    li title="8">三维/3D/li>ojL办公区 - 实用经验教程分享!

    li title="11">Flash/li>ojL办公区 - 实用经验教程分享!

    li title="12">网页代码/li>ojL办公区 - 实用经验教程分享!

    li title="13">笔刷/其他/li>ojL办公区 - 实用经验教程分享!

    /ul>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    h4>搜索/h4>ojL办公区 - 实用经验教程分享!

    input name="keyword" type="text" autocomplete="off" class="search-keyword" id="search-keyword" value="输入关键词,回车搜索" onfocus="if(this.value=='输入关键词,回车搜索'){this.value='';}" onblur="if(this.value==''){this.value='输入关键词,回车搜索';}" />ojL办公区 - 实用经验教程分享!

    button type="submit" class="search-submit" onclick="return checkinput()"> 搜索/button>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    ul id="hotwords" class="hotwords" style="display:none">ojL办公区 - 实用经验教程分享!

    li class="hwtitle"> 每日热词TOP10:良巨/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>背景/h1>ojL办公区 - 实用经验教程分享!

    span>13776次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1> 卡通/h1>ojL办公区 - 实用经验教程分享!

    span>7821次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>画册/h1>ojL办公区 - 实用经验教程分享!

    span> 7783次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>底纹/h1>ojL办公区 - 实用经验教程分享!

    span> 7669次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>名片/h1>ojL办公区 - 实用经验教程分享!

    span> 7490次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>人物/h1>ojL办公区 - 实用经验教程分享!

    span> 7106次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>手绘/h1>ojL办公区 - 实用经验教程分享!

    span> 5659次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>圣诞节/h1>ojL办公区 - 实用经验教程分享!

    span> 5532次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>商冲况艳务/h1>ojL办公区 - 实用经验教程分享!

    span> 4982次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    毙互 li>a href='#'>ojL办公区 - 实用经验教程分享!

    h1>云/h1>ojL办公区 - 实用经验教程分享!

    span> 4719次搜索/span>/a>/li>ojL办公区 - 实用经验教程分享!

    /ul>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    /form>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    /div>ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 4

    书写css代码。ojL办公区 - 实用经验教程分享!

    * { padding: 0px; margin: 0px; }ojL办公区 - 实用经验教程分享!

    html { background: #FFF; }ojL办公区 - 实用经验教程分享!

    body { font: 12px Verdana, Arial, Tahoma; }ojL办公区 - 实用经验教程分享!

    img { border: none; }ojL办公区 - 实用经验教程分享!

    a { color: #198DD0; text-decoration: none; }ojL办公区 - 实用经验教程分享!

    a:hover { color: #ba2636; text-decoration: underline; }ojL办公区 - 实用经验教程分享!

    ul { list-style: none; }ojL办公区 - 实用经验教程分享!

    input, select, button { font: 12px Verdana, Arial, Tahoma; vertical-align: middle; }ojL办公区 - 实用经验教程分享!

    .indextext_1 { padding-left: 23px; background: url(../images/bg.png) no-repeat 0 -716px; height: 17px; }ojL办公区 - 实用经验教程分享!

    .pl1 { padding-left: 10px; }ojL办公区 - 实用经验教程分享!

    .center { margin: 0px auto; }ojL办公区 - 实用经验教程分享!

    .w960 { width: 988px; }ojL办公区 - 实用经验教程分享!

    .pright .infos_userinfo { margin-bottom: 0px; }ojL办公区 - 实用经验教程分享!

    .mt1 { margin-top: 10px; }ojL办公区 - 实用经验教程分享!

    .pright .mt1 { }ojL办公区 - 实用经验教程分享!

    .mt2 { margin-top: 16px; }ojL办公区 - 实用经验教程分享!

    .mb1 { margin-bottom: 10px; }ojL办公区 - 实用经验教程分享!

    .clear { overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .fs-12 { font-size: 12px; }ojL办公区 - 实用经验教程分享!

    .fc-f60 { color: #F60; }ojL办公区 - 实用经验教程分享!

    .fc-f90 { color: #F90; }ojL办公区 - 实用经验教程分享!

    .clr { clear: both; }ojL办公区 - 实用经验教程分享!

    .ipt-txt { line-height: 15px; padding: 4px 5px; border-width: 1px; border-style: solid; border-color: #666 #BBB #BBB #666; font-size: 12px; margin-right: 2px; }ojL办公区 - 实用经验教程分享!

    .nb { line-height: 20x; padding: 1px 2px; border-width: 1px; border-style: solid; border-color: #666 #BBB #BBB #666; font-size: 12px; margin-right: 2px }ojL办公区 - 实用经验教程分享!

    .btn-1 { width: 56px; height: 24px; border: none; background: url(../images/comm-bt.gif) no-repeat; line-height: 25px; letter-spacing: 1px; cursor: pointer; overflow: hidden; color: #585858; }ojL办公区 - 实用经验教程分享!

    .btn-2 { width: 70px; height: 25px; border: none; background: url(../images/btn-bg2.gif) left top no-repeat; line-height: 25px; overflow: hidden; color: #444; margin-right: 2px; cursor: pointer; }ojL办公区 - 实用经验教程分享!

    .header { width: 100%; width: 960px; margin: auto; overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .header_top { height: 40px; color: #676767; background: url("../images/bg.png") repeat-x scroll 0 0 transparent; }ojL办公区 - 实用经验教程分享!

    .header_top .title { float: left; width: 103px; height: 40px; }ojL办公区 - 实用经验教程分享!

    .header_top .title h1 { margin: 0; padding: 0; height: 40px; line-height: 40px; width: 103px; display: inline; }ojL办公区 - 实用经验教程分享!

    .header_top .time { float: left; padding-left: 10px; }ojL办公区 - 实用经验教程分享!

    .header_top a.rss { }ojL办公区 - 实用经验教程分享!

    .header_top .toplinks { float: right; text-align: right; }ojL办公区 - 实用经验教程分享!

    .header_top .toplinks a { margin: 0 5px; }ojL办公区 - 实用经验教程分享!

    .header_top .toplinks span { margin-left: 15px; }ojL办公区 - 实用经验教程分享!

    .header_top .toplinks span a { margin: 0 2px; }ojL办公区 - 实用经验教程分享!

    .header .search { overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .header a { color: #777; }ojL办公区 - 实用经验教程分享!

    .header a:hover { color: #ff3333; text-decoration: none; }ojL办公区 - 实用经验教程分享!

    .header .top { clear: both; overflow: hidden; margin-top: 10px; }ojL办公区 - 实用经验教程分享!

    .header .title h1 a { width: 216px; height: 54px; display: block; overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .header .banner { width: 500px; height: 60px; float: left; margin-left: 20px; overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .header .banner img { width: 500px; height: 60px; display: block; }ojL办公区 - 实用经验教程分享!

    .header .banner2 { width: 200px; height: 60px; float: left; margin-left: 10px; overflow: hidden; }ojL办公区 - 实用经验教程分享!

    .header .banner2 img { width: 200px; height: 60px; display: block; }ojL办公区 - 实用经验教程分享!

    .welcome { text-align: right; margin-top: 10px; padding-right: 10px; color: #999; }ojL办公区 - 实用经验教程分享!

    .welcome a { margin: 0px 3px; }ojL办公区 - 实用经验教程分享!

    .pt1 { padding-top: 10px; }ojL办公区 - 实用经验教程分享!

    .bt1 { border-top: 1px solid #D9D9D9; }ojL办公区 - 实用经验教程分享!

    .module, .module .mid { overflow: hidden; }ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 5

    代码整体结构。ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 6

    查看效果。ojL办公区 - 实用经验教程分享!

    html jquery搜索热门关键词ojL办公区 - 实用经验教程分享!

  • 以上方法由办公区教程网编辑摘抄自百度经验可供大家参考!ojL办公区 - 实用经验教程分享!


    标签: HTMLJQUERY

    办公区 Copyright © 2016-2023 www.bgqu.net. Some Rights Reserved. 备案号:湘ICP备2020019561号统计代码