jquery实现分类筛选生成url参数效果代码

代码语言:html

所属分类:其他

代码描述:jquery实现分类筛选选择后根据选择参数跳转到url效果代码,请仔细观看url中的参数变化。

代码标签: jquery 筛选 分类 参数

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        /* 公共样式表css */
    html,body {
        color: #333;
        margin: 0;
        height: 100%;
    }
    
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    img {
        border: 0;
    }
    
    body {
        background: #F4F5F9;
        color: #666;
    }
    
    html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
        margin: 0;
        padding: 0;
    }
    
    a {
        text-decoration: none;
        color: #08acee;
    }
    
    button {
        outline: 0;
    }
    
    img {
        border: 0;
    }
    
    button,input,optgroup,select,textarea {
        margin: 0;
        font: inherit;
        color: inherit;
        outline: none;
    }
    
    li {
        list-style: none;
    }
    
    a {
        color: #666;
    }
    
    a:hover {
        color: #eee;
    }
    
    .clearfix::after {
        clear: both;
        content: ".";
        display: block;
        height: 0;
        visibility: hidden;
    }
    
    .clearfix {
    }
    
    /* 必要布局样式css */
    .cation-content {
        width: 1200px;
        margin: 0 auto;
        padding: 0;
    }
    
    .cation-middle {
        line-height: 48px;
        background: #fff;
        padding: 10px 20px 10px 30px;
        font-size: 14px;
    }
    
    .cation-list {
        overflow: hidden;
    }
    
    .cation-list dt {
        float: left;
        width: 64px;
        font-weight: 700;
        line-height: 48px;
        position: relative;
        color: #333;
    }
    
    :before, :after {
        -webkit-box-sizing: border-box;
        -moz-box-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0