217. Web前端网页制作 火影忍者动漫网页设计实例 大学生期末大作业 html+css+js

目录

前言

一、网页概述

二、网页文件

 三、网页效果

四、代码展示

1.html

2.CSS

3.JS

五、总结

1.简洁实用

2.使用方便

3.整体性好

4.形象突出

5.交互式强

六、更多推荐


前言

火影忍者动漫网页设计实例,应用html+css+js: Div、导航栏、图片轮翻效果、鼠标滑动特效、视频、登录页面等。适用于大学生网页课程作业设计,供大家参考。


一、网页概述

网页布局为“同字型”的布局,即最上面是网站的标题以及横幅广告条,接下来就是网站的主要内容,左右分列一些两小条内容,中间是主要部分,与左右一起罗列到底。

支持如Dreamweaver、HBuilder、Text 、Vscode 等任意html编辑软件进行编辑修改;支持包括IE、Firefox、Chrome、Safari主流浏览器浏览。


二、网页文件

本网页实例共包含7个页面:


 三、网页效果

以下是本篇文章正文内容,下面案例仅供参考(节选示例):


四、代码展示

1.html

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>动漫--火影忍者</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="index_list">
        <ul>
            <li> <a href="index.html">首页</a> </li>
            <li> <a href="jingli.html"> 剧情简介</a> </li>
            <li> <a href="zuopin.html">火影疾风传</a> </li>
            <li> <a href="hudong.html">火影新世代</a> </li>
            <li> <a href="huojiang.html"> 历代火影</a> </li>
            <li> <a href="pinjia.html"> 名字由来</a> </li>
            <li> <a href="login.html">登录</a> </li>
        </ul>
    </div>
    <div class="cleaner"></div>
    <div id="container">
        <div class="dm">
            <!-- 代码 开始 -->
            <div id="yc-mod-slider">
                <div class="wrapper">
                    <div id="slideshow" class="box_skitter fn-clear">
                        <ul>
                            <li> <img class="cubeRandom" src="images/dm1.jpg" /></li>
                            <li> <img class="cubeRandom" src="images/dm2.jpg" /></li>
                            <li> <img class="cubeRandom" src="images/dm3.jpg" /></li>
                        </ul>
                    </div>
                    <script type="text/javascript" src="js/slideshow.js"></script>
                </div>
            </div>
            <!-- 代码 结束 -->
        </div>
        <div class=" clear"></div>
        <div class="index_main">
            <h1>Studio Pierrot </h1>
            <a href="javascript:;">电视动画《火影忍者》改编自日本漫画家岸本齐史的同名漫画,2002年10月3日在东京电视台系列全6局、岐阜放送首播,共220话;第二季《火影忍者疾风传》自2007年2月开始播出,共500话;累计全720话。</a>
            <p>
                <img src="images/1.jpg">


            </p>

        </div>
        <div class="share">

            <div class="cleaner"></div>
        </div>
        <div id="footer"> Copyright © 动漫--火影忍者</div>
    </div>
    <!-- End Of Container -->
</body>

</html>

...

2.CSS

代码如下(节选示例):

html {
     background: #000;
     ;
 }

 body {
     margin: 0;
     padding: 0;
     font-family: Tahoma, "Trebuchet MS", Verdana;
     font-size: 12px;
     line-height: 1.5em;
     width: 100%;
     display: table;
     background: url(../images/bj.jpg) center top no-repeat fixed #000;
 }

 a:link,
 a:visited {
     color: #87430c;
     text-decoration: none;
 }

 a:active,
 a:hover {
     color: #FFFF00;
 }

 p {
     font-family: Tahoma, "Trebuchet MS", Verdana;
     font-size: 14px;
     color: #222;
     line-height: 24px;
     text-align: justify;
 }

 h1 {
     font-family: Tahoma, "Trebuchet MS", Verdana;
     font-size: 25px;
     color: #333;
     font-weight: normal;
     margin: 0 0 15px 0;
 }

 h2 {
     font-family: "Times New Roman", Times, serif;
     font-size: 14px;
     color: #111;
     margin: 0 0 10px 0;
 }

 h3 {
     font-family: Tahoma;
     font-size: 13px;
     color: #111;
     font-weight: normal;
     margin: 0 0 3px 0;
 }

 .title_left {
     float: left;
     width: 333px;
     height: 46px;
 }

 .title_right {
     float: right;
     width: 165px;
     height: 40px;
     color: #d89300;
     font-family: Tahoma;
     font-size: 28px;
     margin: 0;
     padding: 6px 0 0 0;
 }

 .title_left h1 {
     float: left;
     display: block;
     font-family: Tahoma;
     font-size: 25px;
     color: #e17638;
     font-weight: normal;
     margin: 0 0 2px 0;
 }

 .title_left h3 {
     font-family: Tahoma;
     font-size: 20px;
     color: #fff;
     font-weight: normal;
     display: block;
     float: right;
 }

 .gallery ul {
     margin-left: -40px;
 }

 .gallery li {
     float: left;
     margin: 5px;
     list-style-type: none;
 }

 .gallery li img {
     width: 75px;
     height: 75px;
 }

 li {
     list-style-type: none;
 }

 #container {
     width: 950px;
     padding: 30px;
     margin: 10px auto;
     background-color: rgba(255, 255, 255, 0.7);
     -moz-border-radius: 20px;
     border-radius: 20px;
     min-height: 600px;
     margin-bottom: 50px;
 }

 .index_main {
     width: 700px;
     height: auto;
     margin: auto;
     padding: 50px 0px;
     text-align: center;
 }

 .index_main h1 {
     color: #fff;
     font-size: 111px;
     text-align: center;
     line-height: 136px;
     font-weight: normal;
 }

 .index_list {
     width: 960px;
     margin: auto;
     min-height: 80px;
     padding-top: 20px;
 }

 .index_list ul {}

 .index_list li {
     height: 50px;
     margin: 15px;
     float: left;
 }

 .index_list li a {
     color: #fff;
     font-size: 22px;
     text-align: center;
     line-height: 36px;
 }

 .index_list li a:hover {
     color: #990;
 }

 .share {
     width: 220px;
     height: 50px;
     margin: auto;
 }

 .share li {
     float: left;
     margin: 2px;
 }

 .share li img {
     width: 30px;
     height: 30px;
 }

 .Language {
     width: 860px;
     margin: auto;
 }

 .Language ul {
     width: 700px;
 }

...

3.JS

代码如下(节选示例):

(function(a, b) {
    function cv(a) {
        return f.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : !1
    }

    function cs(a) {
        if (!cA[a]) {
            var b = c.body,
                d = f("<" + a + ">").appendTo(b),
                e = d.css("display");
            d.remove();
            if (e === "none" || e === "") {
                ch || (ch = c.createElement("iframe"), ch.frameBorder = ch.width = ch.height = 0), b.appendChild(ch);
                if (!ci || !ch.createElement)
                    ci = (ch.contentWindow || ch.contentDocument).document, ci.write((c.compatMode === "CSS1Compat" ? "<!doctype html>" : "") + "<html><body>"), ci.close();
                d = ci.createElement(a), ci.body.appendChild(d), e = f.css(d, "display"), b.removeChild(ch)
            }
            cA[a] = e
        }
        return cA[a]
    }

    function cr(a, b) {
        var c = {};
        f.each(cm.concat.apply([], cm.slice(0, b)), function() {
            c[this] = a
        });
        return c
    }

    function cq() {
        cn = b
    }

    function cp() {
        setTimeout(cq, 0);
        return cn = f.now()
    }

    function cf() {
        try {
            return new a.ActiveXObject("Microsoft.XMLHTTP")
        } catch (b) {}
    }

    function ce() {
        try {
            return new a.XMLHttpRequest
        } catch (b) {}
    }

    function b$(a, c) {
        a.dataFilter && (c = a.dataFilter(c, a.dataType));
        var d = a.dataTypes,
            e = {},
            g, h, i = d.length,
            j, k = d[0],
            l, m, n, o, p;
        for (g = 1; g < i; g++) {
            if (g === 1)
                for (h in a.converters)
                    typeof h == "string" && (e[h.toLowerCase()] = a.converters[h]);
            l = k, k = d[g];
            if (k === "*")
                k = l;
            else if (l !== "*" && l !== k) {
                m = l + " " + k, n = e[m] || e["* " + k];
                if (!n) {
                    p = b;
                    for (o in e) {
                        j = o.split(" ");
                        if (j[0] === l || j[0] === "*") {
                            p = e[j[1] + " " + k];
                            if (p) {
                                o = e[o], o === !0 ? n = p : p === !0 && (n = o);
                                break
                            }
                        }
                    }
                }!n && !p && f.error("No conversion from " + m.replace(" ", " to ")), n !== !0 && (c = n ? n(c) : p(o(c)))
            }
        }
        return c
    }

    function bZ(a, c, d) {
        var e = a.contents,
            f = a.dataTypes,
            g = a.responseFields,
            h, i, j, k;
        for (i in g)
            i in d && (c[g[i]] = d[i]);
        while (f[0] === "*")
            f.shift(), h === b && (h = a.mimeType || c.getResponseHeader("content-type"));
        if (h)
            for (i in e)
                if (e[i] && e[i].test(h)) {
                    f.unshift(i);
                    break
                }
        if (f[0] in d)
            j = f[0];
        else {
            for (i in d) {
                if (!f[0] || a.converters[i + " " + f[0]]) {
                    j = i;
                    break
                }
                k || (k = i)
            }
            j = j || k
        }
        if (j) {
            j !== f[0] && f.unshift(j);
            return d[j]
        }
    }

    function bY(a, b, c, d) {
        if (f.isArray(b))
            f.each(b, function(b, e) {
                c || bC.test(a) ? d(a, e) : bY(a + "[" + (typeof e == "object" || f.isArray(e) ? b : "") + "]", e, c, d)
            });
        else if (!c && b != null && typeof b == "object")
            for (var e in b)
                bY(a + "[" + e + "]", b[e], c, d);
        else
            d(a, b)
    }

    function bX(a, c, d, e, f, g) {
        f = f || c.dataTypes[0], g = g || {}, g[f] = !0;
        var h = a[f],
            i = 0,
            j = h ? h.length : 0,
            k = a === bR,
            l;
        for (; i < j && (k || !l); i++)
            l = h[i](c, d, e), typeof l == "string" && (!k || g[l] ? l = b : (c.dataTypes.unshift(l), l = bX(a, c, d, e, l, g)));
        (k || !l) && !g["*"] && (l = bX(a, c, d, e, "*", g));
        return l
    }

    function bW(a) {
        return function(b, c) {
            typeof b != "string" && (c = b, b = "*");
            if (f.isFunction(c)) {
                var d = b.toLowerCase().split(bN),
                    e = 0,
                    g = d.length,
                    h, i, j;
                for (; e < g; e++)
                    h = d[e], j = /^\+/.test(h), j && (h = h.substr(1) || "*"), i = a[h] = a[h] || [], i[j ? "unshift" : "push"](c)
            }
        }
    }

    function bA(a, b, c) {
        var d = b === "width" ? a.offsetWidth : a.offsetHeight,
            e = b === "width" ? bv : bw;
        if (d > 0) {
            c !== "border" && f.each(e, function() {
                c || (d -= parseFloat(f.css(a, "padding" + this)) || 0), c === "margin" ? d += parseFloat(f.css(a, c + this)) || 0 : d -= parseFloat(f.css(a, "border" + this + "Width")) || 0
            });
            return d + "px"
        }
        d = bx(a, b, b);
        if (d < 0 || d == null)
            d = a.style[b] || 0;
        d = parseFloat(d) || 0, c && f.each(e, function() {
            d += parseFloat(f.css(a, "padding" + this)) || 0, c !== "padding" && (d += parseFloat(f.css(a, "border" + this + "Width")) || 0), c === "margin" && (d += parseFloat(f.css(a, c + this)) || 0)
        });
        return d + "px"
    }

    function bm(a, b) {
        b.src ? f.ajax({
            url: b.src,
            async: !1,
            dataType: "script"
        }) : f.globalEval((b.text || b.textContent || b.innerHTML || "").replace(be, "/*$0*/")), b.parentNode && b.parentNode.removeChild(b)
    }

    function bl(a) {
        f.nodeName(a, "input") ? bk(a) : "getElementsByTagName" in a && f.grep(a.getElementsByTagName("input"), bk)
    }

    function bk(a) {
        if (a.type === "checkbox" || a.type === "radio")
            a.defaultChecked = a.checked
    }

    function bj(a) {
        return "getElementsByTagName" in a ? a.getElementsByTagName("*") : "querySelectorAll" in a ? a.querySelectorAll("*") : []
    }

    function bi(a, b) {
        var c;
        if (b.nodeType === 1) {
            b.clearAttributes && b.clearAttributes(), b.mergeAttributes && b.mergeAttributes(a), c = b.nodeName.toLowerCase();
            if (c === "object")
                b.outerHTML = a.outerHTML;
            else if (c !== "input" || a.type !== "checkbox" && a.type !== "radio") {
                if (c === "option")
                    b.selected = a.defaultSelected;
                else if (c === "input" || c === "textarea")
                    b.defaultValue = a.defaultValue
            } else
                a.checked && (b.defaultChecked = b.checked = a.checked), b.value !== a.value && (b.value = a.value);
            b.removeAttribute(f.expando)
        }
    }

    function bh(a, b) {
        if (b.nodeType === 1 && !!f.hasData(a)) {
            var c = f.expando,
                d = f.data(a),
                e = f.data(b, d);
            if (d = d[c]) {
                var g = d.events;
                e = e[c] = f.extend({}, d);
                if (g) {
                    delete e.handle, e.events = {};
                    for (var h in g)
                        for (var i = 0, j = g[h].length; i < j; i++)
                            f.event.add(b, h + (g[h][i].namespace ? "." : "") + g[h][i].namespace, g[h][i], g[h][i].data)
                }
            }
        }
    }

    function bg(a, b) {
        return f.nodeName(a, "table") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
    }

    function W(a, b, c) {
        b = b || 0;
        if (f.isFunction(b))
            return f.grep(a, function(a, d) {
                var e = !!b.call(a, d, a);
                return e === c
            });
        if (b.nodeType)
            return f.grep(a, function(a, d) {
                return a === b === c
            });
        if (typeof b == "string") {
            var d = f.grep(a, function(a) {
                return a.nodeType === 1
            });
            if (R.test(b))
                return f.filter(b, d, !c);
            b = f.filter(b, d)
        }
        return f.grep(a, function(a, d) {
            return f.inArray(a, b) >= 0 === c
        })
    }
 

...


五、总结

一个优秀的网页应具备以下几个特点:

1.简洁实用

尽量以最高效率的方式将用户所要想得到的信息传送给他就是最好的,要去掉所有的冗余的东西;

2.使用方便

要满足使用者的要求,网页适合使用,显示出其功能美;

3.整体性好

围绕一个统一的目标设计,强调整体的功能性; 

4.形象突出

尽量符合网页美的标准,能够使网站的形象得到最大限度的提升,追求雅俗共赏。页面用色协调,布局符合形式美的要求:布局有条理,充分利用美的形式,使网页富有可欣赏性,提高档次。

5.交互式强

发挥网络的优势,想方设法使每个使用者都参与到其中来。

六、更多推荐

关注作者|获取更多源码(2000+个网页源码)|优质文章】;您的支持是我创作的动力!看到这里就【点赞收藏博文】,三连支持下吧,3Q!

Web前端网页制作、整站模板、3D炫酷效果、图片展示、文字效果、大学生毕业HTML、期末大作业模板案例等技术内容,有兴趣的联系我交流学习!

更多优质博客文章、网页模板点击以下链接查阅仙女网页设计-CSDN博客


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

仙女网页制作

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值