标签 内容 内容长度 优化建议
网页标题(Title) 上海交通职业技术学院 15 个字符 标题字符数量在合理范围
网页关键词(KeyWords) 上海交通职业技术学院 10 个字符 关键字数在合理范围
内容描述(Description) 上海交通职业技术学院 10 个字符 描述内容长度在合理范围
页面 http://www.scp.edu.cn/ 检测结果
检测时间 2024-12-23 18:58:18
服务器IP 202.121.16.2
返回状态码 200
网页返回HEAD信息 HTTP/1.1 301 Moved Permanently
Location: https://www.scp.edu.cn/
Content-Type: text/html
Connection: close

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: WWW Server/1.1
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-XSS-Protection: 1;mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Safe-Firewall: zhuji.360.cn 1.0.9.47 F1W1
Date: Mon, 23 Dec 2024 10:58:16 GMT
Content-Length: 7536

网页代码查看





<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<link rel="stylesheet" href="css/swiper.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/animate.min.css">
<script src="js/jquery.min.js.js"></script>
<title>
	上海交通职业技术学院
</title><meta name="Description" content="上海交通职业技术学院" /><meta name="keywords" content="上海交通职业技术学院" /></head>
<body>
    
    
     
    
     
     
    <div id='container'>
        
<!--top-->
<ul class='top_box'>
	<li><a href='index.aspx'>
		<img src="image/logo/logo.png"></a></li>
	<li>
		
		<a href="http://www.scp.edu.cn:8300/PantoSchool" class='top_icon' target="_blank">
			<img src="image/icon/jiaoshi.png"><p>教师</p>
		</a>
		<a href="http://www.scp.edu.cn:8300/PantoSchool" class='top_icon' target="_blank">
			<img src="image/icon/xuesheng.png"><p>学生</p>
		</a>
		<div class='clear'></div>
	</li>
	<div class='clear'></div>
</ul>

<!--nav_box-->
<ul class='nav_box'>
	
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">学校概况</p>
				<div class='nav_son_box'><a href='about.aspx?nid=12&id=4929' >学校简介</a><a href='about.aspx?nid=279&id=13017' >领导介绍</a><a href='list.aspx?nid=13&cid=117' >校容校貌</a><a href='list.aspx?nid=14&cid=326' >机构设置</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">二级院系</p>
				<div class='nav_son_box'><a href='http://www.scp.edu.cn/qcyygc/' >汽车工程学院</a><a href='http://www.scp.edu.cn/csjtgl/' >港航工程系</a><a href='http://www.scp.edu.cn/rwys/' >人文艺术系</a><a href='http://www.scp.edu.cn/hywl/' >经济管理系</a><a href='http://www.scp.edu.cn/jdxx/' >智慧交通系</a><a href='' >轨道交通学院</a><a href='https://www.scp.edu.cn/GCXY/Web/index.aspx' >公用事业和路桥工程学院</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">党群之窗</p>
				<div class='nav_son_box'><a href='list.aspx?nid=18&cid=127' >党务工作</a><a href='https://hxxy.scp.edu.cn:4433' >文明创建</a><a href='list.aspx?nid=20&cid=201' >团委工作</a><a href='list.aspx?nid=21&cid=239' >学校党校</a><a href='list.aspx?nid=22&cid=254' >工会专栏</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">招生就业</p>
				<div class='nav_son_box'><a href='list.aspx?nid=25&cid=126' >就业指导</a><a href='list.aspx?nid=289&cid=473' >专业介绍</a><a href='list.aspx?nid=328&cid=512' >五年一贯制招生</a><a href='list.aspx?nid=292&cid=476' >统一高考招生</a><a href='list.aspx?nid=301&cid=485' >专科自主招生</a><a href='list.aspx?nid=310&cid=494' >三校生高考招生</a><a href='list.aspx?nid=319&cid=503' >其他类型招生</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">人才培养</p>
				<div class='nav_son_box'><a href='list.aspx?nid=26&cid=142' >规章制度</a><a href='list.aspx?nid=27&cid=141' >教务动态</a><a href='list.aspx?nid=28&cid=143' >教学管理</a><a href='list.aspx?nid=29&cid=144' >信息平台</a><a href='list.aspx?nid=30&cid=145' >下载中心</a><a href='http://www.scp.edu.cn/jpkc/index.asp' >精品课程</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">学生工作</p>
				<div class='nav_son_box'><a href='list.aspx?nid=248&cid=434' >通知公告</a><a href='list.aspx?nid=253&cid=439' >学工动态</a><a href='list.aspx?nid=259&cid=445' >规章制度</a><a href='list.aspx?nid=268&cid=454' >学习园地</a><a href='list.aspx?nid=270&cid=456' >支部动态</a><a href='list.aspx?nid=241&cid=427' >办事指南Q&A</a><a href='list.aspx?nid=233&cid=419' >下载专区</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">教学科研</p>
				<div class='nav_son_box'><a href='list.aspx?nid=33&cid=121' >教学督导</a><a href='list.aspx?nid=34&cid=122' >教育科研</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">师资队伍</p>
				<div class='nav_son_box'><a href='list.aspx?nid=43&cid=116' >教学团队</a><a href='list.aspx?nid=129&cid=328' >名师风采</a><a href='list.aspx?nid=130&cid=329' >人才引进</a><a href='list.aspx?nid=131&cid=330' >师德师风</a><a href='list.aspx?nid=132&cid=331' >师资培养</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">公共服务</p>
				<div class='nav_son_box'><a href='http://jtsf.scp.edu.cn:3388/SFP_ScpCms/' >财务处</a><a href='list.aspx?nid=45&cid=317' >学院相关文件</a><a href='list.aspx?nid=46&cid=137' >公共信息</a><a href='list.aspx?nid=47&cid=138' >后勤服务</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">继续教育</p>
				<div class='nav_son_box'><a href='list.aspx?nid=133&cid=240' >学历教育</a><a href='list.aspx?nid=134&cid=297' >各类培训</a></div>
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="http://www.scp.edu.cn/openingdata/page/index.asp">信息公开</p>
				
			</li>
		
			<li>
				<p onclick="PanDuan(this)" id="YiFaZhiXiao" data-link="">依法治校</p>
				<div class='nav_son_box'></div>
			</li>
		
	<div class='clear'></div>
</ul>

<!--ie10以下显示-->
<div class='ie_hide_text'>请切换IE10以上或者360极速模式浏览完整网页</div>

<!--banner_slider-->
<div class="swiper-container banner_container iehide">
	<div class="swiper-wrapper">
		
				<div class="swiper-slide banner_slider">
					<img src="/upload/202107/02/202107022356402953.jpg" alt="" class='banner'>
				</div>
			
				<div class="swiper-slide banner_slider">
					<img src="/upload/202112/07/202112071204026357.jpg" alt="" class='banner'>
				</div>
			
				<div class="swiper-slide banner_slider">
					<img src="/upload/202112/07/202112071204178418.jpg" alt="" class='banner'>
				</div>
			
				<div class="swiper-slide banner_slider">
					<img src="/upload/202112/07/202112071204255869.jpg" alt="" class='banner'>
				</div>
			
				<div class="swiper-slide banner_slider">
					<img src="/upload/202112/07/202112071204348770.jpg" alt="" class='banner'>
				</div>
			
				<div class="swiper-slide banner_slider">
					<img src="/upload/202112/07/202112071204455059.jpg" alt="" class='banner'>
				</div>
			
	</div>
	<div class="swiper-pagination banner_pagination"></div>
	<!-- Add Arrows -->
	<div class="swiper-button-next banner_button_next"></div>
	<div class="swiper-button-prev banner_button_prev"></div>
</div>


<script>

	
    document.onkeydown = function () {
        if (window.event && window.event.keyCode == 123) {
            //alert("F12被禁用");
            event.keyCode = 0;
            event.returnValue = false;
        }
        //if (window.event && window.event.keyCode == 13) {
        //    window.event.keyCode = 505;
        //}
        //if (window.event && window.event.keyCode == 8) {
        //    alert(str + "\n请使用Del键进行字符的删除操作!");
        //    window.event.returnValue = false;
        //}
    }




	$('#imgseach').click(function () {
		var seach = $('#txtseach').val();

		seach = seach.replace(/g/g, "");
		seach = seach.replace(/|/g, "");
		seach = seach.replace(/&/g, "");
		seach = seach.replace(/;/g, "");
		seach = seach.replace(/$/g, "");
		seach = seach.replace(/%/g, "");
		seach = seach.replace(/'/g, "");
		seach = seach.replace(/'/g, "");
		//seach = seach.replace(/ /g, "");
		seach = seach.replace(/()/g, "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace("+", "");
		seach = seach.replace(/CR/g, "");
		seach = seach.replace(/LF/g, "");
		seach = seach.replace(/,/g, "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(".", "");
		seach = seach.replace(/script/g, "");
		seach = seach.replace(/javascript/g, "");
		seach = seach.replace(/document/g, "");
		seach = seach.replace(/eval/g, "");
		seach = seach.replace(/onclick/g, "");
		seach = seach.replace(/%/g, "");
		seach = seach.replace(/key/g, "");
		seach = seach.replace(/key/g, "");
		//alert alert
		seach = seach.replace(/nid/g, "");
		seach = seach.replace(/alert/g, "");
		seach = seach.replace(/img/g, "");
		
		seach = seach.replace(/#/g, "");
		//console.log(seach)
		//return;
		if (seach != "") {
			location.href = "seach.aspx?nid=-1&key=" + seach;
		}
	})

	$('.nav_box').find('p').click(function () {
		var link = $(this).attr('data-link');
		if (link != '') {
			location.href = link;
		}
	})
	//判断是否是依法治校
	function PanDuan(title) {
		var PanDuanTitle = $(title).text();
		if (PanDuanTitle == "依法治校") {
			//window.location.href = "new_list.aspx";
			window.location.href = "new_list.aspx?nid=520&cid=520";
		}
	}



    document.oncontextmenu = function (event) {
        if (window.event) {
            event = window.event;
        }
        try {
            var the = event.srcElement;
            if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")) {
                return false;
            }
            return true;
        } catch (e) {
            return false;
        }
    }


</script>

        <!--icon_nav-->
        <ul class='icon_nav'>
            <li>
                <a href="https://www.shjtxx.net:8000" target='_blank'>
                    <img src="image/icon/icon1.png" class='icon_normal'/>
                    <img src="image/icon/icon1_color.png" class='icon_hover'/>
                    <p>OA系统</p>
                </a>
            </li>
            <li>
                <a href="https://www.scp.edu.cn/PantoSchool/NewPage/Login.aspx?ReturnUrl=%2fPantoSchool%2f" target='_blank'>
                    <img src="image/icon/icon4.png" class='icon_normal'/>
                    <img src="image/icon/icon4_color.png" class='icon_hover'/>
                    <p>教务系统</p>
                </a>
            </li>
            <li>
                 <a href="http://172.4.4.133:8701" target='_blank'>
                    <img src="image/icon/icon3.png" class='icon_normal'/>
                    <img src="image/icon/icon3_color.png" class='icon_hover'/>
                    <p>购书申请</p>
                </a>
            </li>
            <li>
                <a href="http://jw.scp.edu.cn:9000" target='_blank'>
                    <img src="image/icon/icon7.png" class='icon_normal'/>
                    <img src="image/icon/icon7_color.png" class='icon_hover'/>
                    <p>教师评价</p>
                </a>
            </li>
            <li>
                <a href="http://jw.scp.edu.cn:7000" target='_blank'>
                    <img src="image/icon/icon9.png" class='icon_normal'/>
                    <img src="image/icon/icon9_color.png" class='icon_hover'/>
                    <p>新教务系统(试用)</p>
                </a>
            </li>
            <li>
                <a href="https://www.scp.edu.cn/WMW/" target='_blank'>
                    <img src="image/icon/icon5.png" class='icon_normal'/>
                    <img src="image/icon/icon5_color.png" class='icon_hover'/>
                    <p>文明在线</p>
                </a>
            </li>

            <li>
                <a href="" target='_blank'>

                    <img src="image/icon/icon6.png" class='icon_normal'/>
                    <img src="image/icon/icon6_color.png" class='icon_hover'/>
                    <p>智慧管家</p>
                </a>
            </li>
            <li>
                <a href="http://www.scp.edu.cn/jpkc/" target='_blank'>

                    <img src="image/icon/icon2.png" class='icon_normal'/>
                    <img src="image/icon/icon2_color.png" class='icon_hover'/>
                    <p>精品课程</p>
                </a>
            </li>

            <li>
                <a href="http://www.scp.edu.cn/language/" target='_blank'>
                    <img src="image/icon/icon8.png" class='icon_normal'/>
                    <img src="image/icon/icon8_color.png" class='icon_hover'/>
                    <p>语言文字网</p>
                </a>
            </li>
            <div class='clear'></div>
        </ul>

        <!--home_news-->
        <ul class='home_news'>
            <li>
                <div class='home_news_title'>
                    <h1>要闻<span>News</span></h1>
                    <a href='list.aspx?cid=118&nid=128' target='_blank'>更多>></a>
                    <div class='clear'></div>
                </div>
                <input id="hidcid" type="hidden" value="118" />
                <input id="hidnids" type="hidden" value="128" />
                <dl class='home_news_text' id="dlnews">
                </dl>
            </li>
            <li>
                <input id="hidcid2" type="hidden" value="4" />
                <input id="hidnid2" type="hidden" value="137" />
                <div class='home_news_title' id="divhuodong">
                    <h1>活动<span>Events</span></h1>
                    <a href='list2.aspx?cid=4&nid=137' target='_blank'>更多>></a>
                    <div class='clear'></div>
                </div>


            </li>
            <li>
                <div class='home_news_title'>
                    <h1>通知公告<span>Notice</span></h1>
                    <a href='list.aspx?cid=119&nid=127' target='_blank'>更多>></a>
                    <div class='clear'></div>
                </div>
                <input id="hidcid3" type="hidden" value="119" />
                <input id="hidnid3" type="hidden" value="127" />
                <dl class='home_news_text' id="dltongzhi">
                </dl>
                <ul class='home_news_note'>
                    <li>
                        <img src="image/icon/mail.png"><a href="mailto:">书记信箱</a></li>
                    <li>
                        <img src="image/icon/mail.png"><a href="mailto:">院长信箱</a></li>
                    <div class='clear'></div>
                </ul>
            </li>
            <div class='clear'></div>
        </ul>

        <div class='push'></div>
    </div>

    <br />
    <br />
    <br />
    <!--footer-->

    
<div class='footer_box_bg'>
    <ul class='footer_box'>
        <li class='footer_text'>
            <p>凯旋校区:上海市徐汇区凯旋路2050号</p>        
            <p> 电话:021-64476835 </p>
            <p>宝山校区:上海市宝山区呼兰路883号  </p>
            <p> 电话:021-56993234 </p>

            <div class='clear'></div>

            <p>浦东校区:上海市浦东新区下盐路2888号</p>
            <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;嘉定校区:上海市嘉定区华亭镇双塘村双浏路128号</p>
            <p>轨道交通学院: 上海市闵行区紫琅路118号(原漕宝路1685弄188号)</p>
          
            <p>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp</p>
		 <!-- <p>网站举报电话:56993234 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	</p>-->
	    
     <p>招生咨询热线:021-68159622、021-64473037&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版权所有 © 上海交通职业技术学院 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
            <a target="_blank" href="https://beian.miit.gov.cn" >沪ICP备05052065号</a>

            <div class='clear'></div>
	
            <p class='no_margin_p'>友情链接:</p>
	
            <div class='clear'></div>
	
        </li>
        <li class='footer_share'>
            <a href='http://scp.yiban.cn/'  target='_blank'>
                <img src="image/icon/yiban.png">
                <p>易班</p>
            </a>
            <div class='weixin_btn'>
                <img src="image/icon/weixin.png">
                <p>微信</p>
            </div>
            <a href=''  target='_blank'>
                <img src="image/icon/weibo.png">
                <p>微博</p>
            </a>
            <div class='clear'></div>
        </li>
        <div class='clear'></div>
    </ul>
</div>

<!--wx_hide_box-->
<div class='weixin_box_lay'>
    <div class='weixin_box'>
        <img src="image/icon/close_tc.png" class='weixin_box_icon'>
        <img src="/upload/201807/27/201807270951542787.png" class='weixin_box_photo'>
    </div>
</div>
<script src="js/swiper.min.js"></script>
<script src="js/all_js.js"></script>
<script src="js/wow.js"></script>
<!--[if lt IE 10]>
	<script>
		$('.iehide').hide();
		$('.ie_hide_text').show();
	</script>
<![endif]-->

<script>

    //启用wow滚动插件
    new WOW().init();

    //banner_container
    var swiper = new Swiper('.banner_container', {
        pagination: '.banner_pagination',
        nextButton: '.banner_button_next',
        prevButton: '.banner_button_prev',
        //slidesPerView: 3,(显示多张banner调用这个)
        paginationClickable: true,
        spaceBetween: 0,
        centeredSlides: true,//如果需要滚动多张banner改为false
        autoplay: 2500,
        autoplayDisableOnInteraction: true
    });

    //微信弹出层
    $(document).on('click touchstart', function () {
        $('.weixin_box_lay').fadeOut();
    });

    $(".weixin_btn").on('click touchstart', function (event) {
        event.stopPropagation();
    });

    $(".weixin_btn").click(function (event) {
        $('.weixin_box_lay').fadeIn();
    });
    //增加二级左导航
    $('.introduce_nav dt').click(function () {
        $(this).children('.introduce_second').slideToggle();
        $(this).siblings().children('.introduce_second').slideUp();
    })

</script>




<script>

    $.ajax({
        url: "../../tools/submit_ajax.ashx",
        type: "get",
        data: { "action": "Getshow2", "top":0,"cid": 7 ,"red":0},
        async: false,
        dataType: "json",
        success: function (data) {
            var ahtml = "";
            $.each(data, function (i, item) {
                ahtml += "<a href='" + item.links + "' target='_blank'>" + item.title + "</a>";
            })
            $('.no_margin_p').after(ahtml);
        }
    });
</script>
    <script>

		 


        //新闻
        $.ajax({
            url: "../../tools/submit_ajax.ashx",
            type: "get",
            data: { "action": "Getshow2", "top": 7, "cid": $("#hidcid").val(), "red": 1 },
            async: false,
            dataType: "json",
            success: function (data) {
                var dlhtml = "";
                $.each(data, function (i, item) {
                    dlhtml += "<dd><a  target='_blank' href='list_in.aspx?cid=" + $("#hidcid").val() + "&nid=" + $("#hidnids").val() + "&id=" + item.id + "'>" + item.title + "</a></dd>";
                })
                $('#dlnews').html(dlhtml);
            }
        });

        //活动
        $.ajax({
            url: "../../tools/submit_ajax.ashx",
            type: "get",
            data: { "action": "Getshow2", "top": 3, "cid": $("#hidcid2").val(), "red": 1 },
            async: false,
            dataType: "json",
            success: function (data) {
                var dlhtml = "";
                $.each(data, function (i, item) {
                    dlhtml += "<dl class='activity_box'>";
                    dlhtml += "<a  target='_blank' href='list_in.aspx?cid=" + $("#hidcid2").val() + "&nid=" + $("#hidnid2").val() + "&id=" + item.id + "'>";
                    dlhtml += "<dd class='activity_date'>";
                    dlhtml += "<p>" + item.add_time.substring(5, 10).replace('-', '/') + "</p>";
                    dlhtml += "<h1>" + getweek(item.add_time) + "</h1>";
                    dlhtml += "</dd>";
                    dlhtml += "<dd class='activity_text'>";
                    dlhtml += "<p>" + item.title + "</p>";
                    dlhtml += "<p>时间:" + item.add_time.substring(11, 16) + "</p>";
                    dlhtml += "<p>地点:" + item.act_address + "</p>";
                    dlhtml += "</dd>";
                    dlhtml += "<div class='clear'></div>";
                    dlhtml += "</a>";
                    dlhtml += "</dl>";
                })
                $('#divhuodong').after(dlhtml);
            }
        });

        //通知公告
        $.ajax({
            url: "../../tools/submit_ajax.ashx",
            type: "get",
            data: { "action": "Getshow2", "top": 5, "cid": $("#hidcid3").val(), "red": 1 },
            async: false,
            dataType: "json",
            success: function (data) {
                var dlhtml = "";
                $.each(data, function (i, item) {
                    dlhtml += "<dd><a  target='_blank' href='list_in.aspx?cid=" + $("#hidcid3").val() + "&nid=" + $("#hidnid3").val() + "&id=" + item.id + "'>" + item.title + "</a></dd>";
                })
                $('#dltongzhi').html(dlhtml);
            }
        });

        function float(i) {
            var indexbuoy = $('.indexbuoy').eq(i);
            var data = indexbuoy.data('data'); // { x: 50, y: 60, xin: true, yin: true, step: 1, delay: 10 };
            var L = 0, T = 0;
            var R = $(window).width() - $(indexbuoy).width();
            var B = $(window).height() - $(indexbuoy).height();
            data.x = data.x + data.step * (data.xin ? 1 : -1);
            if (data.x < L) {
                data.xin = true;
                data.x = L;
            }
            if (data.x > R) {
                data.xin = false;
                data.x = R;
            }
            data.y = data.y + data.step * (data.yin ? 1 : -1);
            if (data.y < T) {
                data.yin = true;
                data.y = T;
            }
            if (data.y > B) {
                data.yin = false;
                data.y = B;
            }
            var cleft = data.x + $(window).scrollLeft();
            var ctop = data.y + $(window).scrollTop();
            $(indexbuoy).css('left', cleft + "px");
            $(indexbuoy).css('top', ctop + "px");
            $(indexbuoy).data('data', data);
        }

        function setIndexBuoy() {
            var floats = [];
            $('.indexbuoy')
                .each(function (i, indexbuoy) {
                    var data = { x: 300 * i, y: 200 * i, xin: true, yin: true, step: 1, delay: 30 };
                    $(indexbuoy).data('data', data).attr('index', i);
                    var ff = setInterval(function () {
                        float(i);
                    }, data.delay);
                    floats.push(ff);
                });
            $('.indexbuoy', 'body').hover(function () {
                var index = $(this).attr('index');
                clearInterval(floats[index]);
                floats[index] = null;
            }, function () {
                var index = $(this).attr('index');
                var data = $(this).data('data');
                floats[index] = setInterval(function () {
                    float(index);
                }, data.delay);
            });
            $('i', '.indexbuoy')
                .bind('click', function () {
                    var indexbuoy = $(this).parent().parent();
                    indexbuoy.hide();
                });
        }

        //悬浮框
        window.onload = function () {

            setIndexBuoy();
        } 
    </script>
</body>


</html>

网页分析工具

为您提供网页信息检测查询,可以快速检测网页的META标签,分析标题、关键词、描述等是否符合搜索引擎收录规范 。

您的足迹: