前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >jQuery Mobile仿360首页,jQuery Mobile网格布局,jQuery Mobile网址大全,HTML5仿360首页

jQuery Mobile仿360首页,jQuery Mobile网格布局,jQuery Mobile网址大全,HTML5仿360首页

作者头像
业余草
发布2019-01-21 15:49:21
1.8K0
发布2019-01-21 15:49:21
举报
文章被收录于专栏:业余草业余草业余草

随着移动互联网的兴起,越来越多的人使用手机上网。打开uc浏览器,我们可以看到uc的主页。或者360的主页,或者百度的主页。

这些页面都是html5做的。看起来很难,其实一点也不难。网上有很多介绍html5的文章,我这里就不解释了。对于程序员来说,看代码还是最实在的。

代码支持电脑和手机,pad等终端设备。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>jQuery Mobile页面跳转切换的几种方式</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width"/>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css">
	<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
	<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
	<!--<link rel="stylesheet" type="text/css" href="../jQuery/jquery.mobile-1.3.2.min.css">
	--><style type="text/css">
		.menu{ width:100%; padding:0px; margin:0px 0 50px 0;margin-top:-2.1%;}
		.menu ul{ list-style:none; padding:0px; margin:0px; width:100%;}
		.menu ul li{ list-style:none; margin:3% 0 0 3%; padding:5.5% 0;padding-bottom:0px; width:29.333333%;height:auto; float:left; display:block; text-align:center;}
		.menu ul li a{ color:#FFFFFF; text-decoration:none;  text-align: center;} 
		.menu ul li a span{ display:block; text-align:center; font-size:14px; line-height:25px;}
		.menu ul li img{ display:inline-block;max-width:50%;}
		.green{ background-color:#85af5d;}
		.blue{ background-color:#29aae3;}
		.darkblue{ background-color:#035792;}
		.red{ background-color:#c53238;}
		.purple{ background-color:#8b2767;}
		.pink{ background-color:#f87c68;}
		.orange{ background-color:#f17225;}
		.black{ background-color:#272625;}
		.gray{ background-color:#6e6e6e;}
		.yellow{ background-color:#ffb606;}
		.bluegreen{ background-color:#06a78b;}
		.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 
		.clearfix { display: inline-block; } 
		.clearfix { display: block; } 
		.none { display: none; } 
		span{color:#ffffff;}
	</style>
	<!--<script type="text/javascript" src="../jQuery/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="../jQuery/jquery.mobile-1.3.2.min.js"></script>-->
  	<script type="text/javascript">
  	</script>
  </head>
  
  <body>
	
	<div data-role="page" id="fivePage" data-theme="b" >
		<div data-role="header" data-position="fixed" data-theme="b">
			<h1>
				涛哥伪专家管理系统
			</h1>
		</div>
<span style="white-space:pre">		</span><!-- 如有不懂,请加qq群:135430763,共同学习! -->
		<div data-role="content">
			<div class="menu">
				<ul>
	                <li class="green"><a href="http://www.xttblog.com">
	                    <img src="img/about.png" alt="网址导航" title="网址导航" /><span>网址导航</span></a></li>
	                <li class="red"><a href="http://www.xttblog.com">
	                    <img src="img/tools.png" alt="天天热帖" title="天天热帖" /><span>天天热帖</span></a></li>
	                <li class="blue"><a href="http://www.xttblog.com">
	                    <img src="img/blog.png" alt="影视大全" title="影视大全" /><span>影视大全</span></a></li>
	                <li class="orange"><a href="http://www.xttblog.com">
	                    <img src="img/docs.png" alt="携程旅行" title="携程旅行" /><span>携程旅行</span></a></li>
	                <li class="purple"><a href="http://www.xttblog.com">
	                    <img src="img/photos.png" alt="小说书架" title="小说书架" /><span>小说书架</span></a></li>
	                <li class="yellow"><a href="http://www.xttblog.com">
	                    <img src="img/clients.png" alt="美团团购" title="美团团购" /><span>美团团购</span></a></li>
	                <li class="purple"><a href="http://www.xttblog.com">
	                    <img src="img/photos.png" alt="新浪读书" title="新浪读书" /><span>新浪读书</span></a></li>
	                <li class="yellow"><a href="http://www.xttblog.com">
	                    <img src="img/clients.png" alt="热门游戏" title="" /><span>热门游戏</span></a></li>
	                <li class="yellow"><a href="http://www.xttblog.com">
	                    <img src="img/clients.png" alt="有缘网" title="有缘网" /><span>有缘网</span></a></li>
	                <li class="yellow"><a href="http://www.guusoft.com">
	                    <img src="img/clients.png" alt="谷软" title="谷软" /><span>谷软</span></a></li>
	                <li class="orange"><a href="http://www.damuban.com">
	                    <img src="img/docs.png" alt="大模板" title="大模板" /><span>大模板</span></a></li>
	                <li class="purple"><a href="http://www.xttblog.com">
	                    <img src="img/photos.png" alt="小说书架" title="小说书架" /><span>小说书架</span></a></li>
	                <li class="green"><a href="http://www.xttblog.com">
	                    <img src="img/about.png" alt="网址导航" title="网址导航" /><span>网址导航</span></a></li>
	                <li class="red"><a href="http://www.xttblog.com">
	                    <img src="img/tools.png" alt="天天热帖" title="天天热帖" /><span>天天热帖</span></a></li>
	                <li class="blue"><a href="http://www.xttblog.com">
	                    <img src="img/blog.png" alt="影视大全" title="影视大全" /><span>影视大全</span></a></li>
	            </ul>
	            <div class="clearfix"></div>
	    	</div>
		</div>
		
		<div id="footer" data-role="footer" data-theme="b" data-position="fixed">
			<h1>
				涛哥伪专家管理系统
			</h1>
		</div>
	</div>
<pre name="code" class="html"><span style="white-space:pre">	</span><!-- 如有不懂,请加qq群:135430763,共同学习! -->

<script type="text/javascript"></script>

<span style="white-space:pre">	</span><!-- 如有不懂,请加qq群:135430763,共同学习! -->

</body></html>

手机上运行效果:

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2014年07月03日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档