|
|
|
Submenu โดนรูป slides ทับแก้ยังไงครับขอคำแนะนำหน่อยคับ |
|
|
|
|
|
|
|
ของ menu
Code (PHP)
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
ul:after, header:after, #main:after {
clear: both;
content: "";
display: table;
}
ul:before, header:before, #main:before {
content: "";
display: table;
}
ul {
list-style: none;
padding: 0;
margin: 0;
z-index:100;
}
body {
font-family: "Raleway";
font-weight: 400;
color: #34495E;
background: #f0f0f0;
}
header {
background: #839EA9;
padding: 0 7%;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
box-shadow: 0 2px 5px rgba(68, 68, 68, 0.3);
-webkit-perspective: 1555px;
-moz-perspective: 1555px;
perspective: 1555px;
}
#main {
padding: 2.5em 7%;
}
#main .efx-info {
width: 49%;
float: left;
padding: 2em 1em;
font-weight: 700;
border-radius: .2em;
}
#main .efx-info h1 {
line-height: 1;
display: inline-block;
padding: .1em .2em;
font-size: 5em;
margin: 0;
background: #e3e3e3;
}
#main .efx-info p {
margin: 0;
}
#main #efx-name {
color: #7CCDE8;
font-weight: 900;
border-bottom: 4px solid #f5f5f5;
}
#main #efx-ease {
color: #34495E;
}
#main .menu-chks {
position: relative;
line-height: 1;
font-size: .9em;
width: 45%;
float: right;
}
#main .menu-chks input {
margin-right: .5em;
}
#main .menu-chks input:checked + span {
color: #7CCDE8;
}
#main .menu-chks input:checked + span:before {
content: "\f046";
}
#main .menu-chks span {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease;
}
#main .menu-chks span:before {
font-family: 'FontAwesome';
position: absolute;
left: 12px;
top: 10px;
color: #3b536b;
content: "\f096";
font-size: 1.4em;
}
#main .menu-chks label {
color: #e8e8e8;
font-weight: 600;
display: inline-block;
position: relative;
margin: .25em;
background: #2d3f51;
padding: .8em 1.2em .8em 2.5em;
border-radius: .4em;
}
#main .menu-chks label:hover {
cursor: pointer;
}
nav li {
position: relative;
display: inline-block;
float: left;
}
nav a {
position: relative;
z-index: 599;
color: #f5f5f5;
background: #839EA9;
text-decoration: none;
display: block;
padding: 1.5em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease;
}
nav a i[class*="caret"] {
color: #3b536b;
margin-left: .15em;
}
nav a:hover {
color: #7CCDE8;
}
nav a:hover + .submenu {
opacity: 1;
-webkit-transform: rotateX(0deg);
-moz-transform: rotateX(0deg);
-ms-transform: rotateX(0deg);
-o-transform: rotateX(0deg);
transform: rotateX(0deg);
visibility: visible;
}
nav .eiob .submenu {
-webkit-transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.2s linear;
-moz-transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.2s linear;
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.2s linear;
}
nav .ln .submenu {
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
transition: all 0.3s linear;
}
nav .ei .submenu {
-webkit-transition: all 0.3s ease-in, opacity 0.2s linear;
-moz-transition: all 0.3s ease-in, opacity 0.2s linear;
transition: all 0.3s ease-in, opacity 0.2s linear;
}
nav .eo .submenu {
-webkit-transition: all 0.3s ease-out, opacity 0.2s linear;
-moz-transition: all 0.3s ease-out, opacity 0.2s linear;
transition: all 0.3s ease-out, opacity 0.2s linear;
}
nav .submenu {
display: block;
opacity: 0;
position: absolute;
visibility: hidden;
z-index: 499;
width: 14em;
top: 100%;
left: 0;
background: #839EA9;
box-shadow: 0 2px 5px rgba(68, 68, 68, 0.3);
-webkit-transform-origin: top center;
-moz-transform-origin: top center;
-ms-transform-origin: top center;
-o-transform-origin: top center;
transform-origin: top center;
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
-ms-transform: rotateX(-90deg);
-o-transform: rotateX(-90deg);
transform: rotateX(-90deg);
-webkit-transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
transition: all 0.25s ease;
}
nav .submenu li > .submenu {
top: 0;
left: 100%;
}
nav .submenu:hover {
opacity: 1;
z-index: 100;
-webkit-transform: rotateX(0deg);
-moz-transform: rotateX(0deg);
-ms-transform: rotateX(0deg);
-o-transform: rotateX(0deg);
transform: rotateX(0deg);
visibility: visible;
}
nav .submenu li {
float: none;
display: block;
}
nav .submenu a {
width: 100%;
display: block;
font-weight: 300;
padding: 1.4em 2em;
}
nav .submenu a:hover {
color: #f5f5f5;
background: #7CCDE8;
}
nav.rx li:hover + .submenu {
opacity: 1;
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
nav.rx .submenu {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
nav.rx .submenu:hover {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
/*=== Fade Dwn ===*/
nav.fd li:hover + .submenu {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
nav.fd .submenu {
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
-ms-transform-origin: center center;
-o-transform-origin: center center;
transform-origin: center center;
-webkit-transform: translateY(-50px);
-moz-transform: translateY(-50px);
-ms-transform: translateY(-50px);
-o-transform: translateY(-50px);
transform: translateY(-50px);
}
nav.fd .submenu:hover {
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
nav.fu li:hover + .submenu {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
nav.fu .submenu {
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
-ms-transform-origin: center center;
-o-transform-origin: center center;
transform-origin: center center;
-webkit-transform: translateY(20px);
-moz-transform: translateY(20px);
-ms-transform: translateY(20px);
-o-transform: translateY(20px);
transform: translateY(20px);
}
nav.fu .submenu:hover {
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
/*=== Scale ===*/
nav.sc li:hover + .submenu {
opacity: 1;
-webkit-transform: rotateY(0deg) scale(1);
-moz-transform: rotateY(0deg) scale(1);
-ms-transform: rotateY(0deg) scale(1);
-o-transform: rotateY(0deg) scale(1);
transform: rotateY(0deg) scale(1);
}
nav.sc .submenu {
-webkit-transform-origin: center top;
-moz-transform-origin: center top;
-ms-transform-origin: center top;
-o-transform-origin: center top;
transform-origin: center top;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
nav.sc .submenu:hover {
-webkit-transform: rotateY(0deg) scale(1);
-moz-transform: rotateY(0deg) scale(1);
-ms-transform: rotateY(0deg) scale(1);
-o-transform: rotateY(0deg) scale(1);
transform: rotateY(0deg) scale(1);
}
/*==== Rotate ====*/
nav.rt li:hover + .submenu {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
nav.rt .submenu {
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
-ms-transform-origin: center center;
-o-transform-origin: center center;
transform-origin: center center;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
nav.rt .submenu:hover {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
/*==== Move/Skew In ====*/
nav.mv li:hover + .submenu {
-webkit-transform: translateX(0px) skewX(0deg);
-moz-transform: translateX(0px) skewX(0deg);
-ms-transform: translateX(0px) skewX(0deg);
-o-transform: translateX(0px) skewX(0deg);
transform: translateX(0px) skewX(0deg);
}
nav.mv .submenu {
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
-ms-transform-origin: center center;
-o-transform-origin: center center;
transform-origin: center center;
-webkit-transform: translateX(-40px) skewX(-7deg);
-moz-transform: translateX(-40px) skewX(-7deg);
-ms-transform: translateX(-40px) skewX(-7deg);
-o-transform: translateX(-40px) skewX(-7deg);
transform: translateX(-40px) skewX(-7deg);
}
nav.mv .submenu:hover {
-webkit-transform: skewX(0deg);
-moz-transform: skewX(0deg);
-ms-transform: skewX(0deg);
-o-transform: skewX(0deg);
transform: skewX(0deg);
}
/*==== Door ====*/
nav.dc li:hover + .submenu {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
nav.dc .submenu {
-webkit-transform-origin: left top;
-moz-transform-origin: left top;
-ms-transform-origin: left top;
-o-transform-origin: left top;
transform-origin: left top;
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
nav.dc .submenu:hover {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
|
|
|
|
|
Date :
2018-05-04 22:42:45 |
By :
art9397 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ของรูป
Code (PHP)
.blueberry { margin: 0 auto; }
.blueberry .slides {
display: block;
position: relative;
overflow: hidden;
}
.blueberry .slides li {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
}
.blueberry .slides li img {
display: block;
width: 100%;
max-width: none;
}
.blueberry .slides li.active { display: block; position: relative; }
.blueberry .crop li img { width: auto; }
.blueberry .pager {
height: 40px;
text-align: center;
}
.blueberry .pager li { display: inline-block; }
.blueberry .pager li a,
.blueberry .pager li a span {
display: block;
height: 4px;
width: 4px;
}
.blueberry .pager li a {
padding: 18px 8px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.blueberry .pager li a span {
overflow: hidden;
background: #c0c0c0;
text-indent: -9999px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.blueberry .pager li.active a span { background: #404040; }
|
|
|
|
|
Date :
2018-05-04 22:43:11 |
By :
art9397 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ตัวเว็บ
Code (PHP)
<html>
<center>
<head>
<title>ArtNeeT</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script>
<link href='https://fonts.googleapis.com/css?family=Raleway:400,600,900' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/blueberry.css" />
<style type="text/css">
* {
margin: 0;
border: 0;
padding: 0;
}
.blueberry { max-width: 920px; }
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="js/jquery.blueberry.js"></script>
<script>
$(window).load(function() {
$('.blueberry').blueberry();
});
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (5854410021_index.psd) -->
<table id="Table_01" width="960" height="1059" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="7" rowspan="3">
<img src="images/index_01.jpg" width="763" height="111" alt=""></td>
<td>
<img src="images/index_02.jpg" width="163" height="22" alt=""></td>
<td colspan="2" rowspan="3">
<img src="images/index_03.jpg" width="34" height="111" alt=""></td>
</tr>
<tr>
<td>
<img src="images/index_04.jpg" width="163" height="69" alt=""></td>
</tr>
<tr>
<td>
<img src="images/index_05.jpg" width="163" height="20" alt=""></td>
</tr>
<tr>
<td height="79" colspan="10" bgcolor="#839EA9">
<header>
<nav id="nav" class="ry">
<ul id="main-menu">
<li>
<a href="#"><i class="fa fa-home"></i> หน้าหลัก</a>
</li>
<li>
<a href="#"><i class="fa fa-user"></i> ข้อมูล <i class="fa fa-caret-down"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-briefcase"></i> สินค้า <i class="fa fa-caret-down"></i></a>
<ul class="submenu">
<li><a href="#0">Figure</a></li>
<li><a href="#0">Nendoroid</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-comment"></i> ติดต่อ</a>
</li>
</ul>
</nav>
</header>
</td>
</tr>
<tr>
<td colspan="6" bgcolor="#E7E7E7"> </td>
<td colspan="4" bgcolor="#E7E7E7"> </td>
</tr>
<tr>
<td rowspan="7" bgcolor="#E7E7E7"> </td>
<td colspan="4" rowspan="6" bgcolor="#E7E7E7">
<div class="blueberry">
<ul class="slides">
<li><img src="images/s01.jpg" width="562" height="314" alt=""></li>
<li><img src="images/s02.jpg" width="562" height="314" alt=""></li>
<li><img src="images/s03.jpg" width="562" height="314" alt=""></li>
<li><img src="images/s04.jpg" width="562" height="314" alt=""></li>
<li><img src="images/s05.jpg" width="562" height="314" alt=""></li>
</ul>
</div>
</td>
<td rowspan="7" bgcolor="#E7E7E7"> </td>
<td height="51" colspan="3" bgcolor="#E7E7E7"><img src="images/index_16.jpg" width="280" height="51" alt=""></td>
<td rowspan="7" bgcolor="#E7E7E7"> </td>
</tr>
<tr>
<td height="53" colspan="3" align="center" valign="middle" bgcolor="#FFFFFF"><blockquote>
<p><strong> Nendoroids Announced in 2017 </strong></p>
</blockquote></td>
</tr>
<tr>
<td height="51" colspan="3" align="center" valign="middle" bgcolor="#FFFFFF"><blockquote>
<p><strong>Figure ขนาด 1/1 ของ Lala.......... </strong></p>
</blockquote></td>
</tr>
<tr>
<td height="54" colspan="3" align="center" valign="middle" bgcolor="#FFFFFF"><blockquote>
<p><strong>Madman Anime Festival Perth.... </strong></p>
</blockquote></td>
</tr>
<tr>
<td height="52" colspan="3" align="center" valign="middle" bgcolor="#FFFFFF"><blockquote>
<p><strong>C3AFA Hong Kong 2018 </strong></p>
</blockquote></td>
</tr>
<tr>
<td height="53" colspan="3" align="center" valign="middle" bgcolor="#FFFFFF"><blockquote>
<p><strong>Comic Market 93 </strong></p>
</blockquote></td>
</tr>
<tr>
<td colspan="4" bgcolor="#E7E7E7"> </td>
<td colspan="3" bgcolor="#E7E7E7"> </td>
</tr>
<tr>
<td height="64" colspan="10">
<img src="images/index_25.jpg" width="960" height="64" alt=""></td>
</tr>
<tr>
<td height="150" colspan="10">
<img src="images/index_26.jpg" width="960" height="150" alt=""></td>
</tr>
<tr>
<td height="64" colspan="10">
<img src="images/index_27.jpg" width="960" height="64" alt=""></td>
</tr>
<tr>
<td height="153" colspan="10">
<img src="images/index_28.jpg" alt="" width="960" height="153" usemap="#Map" border="0"></td>
</tr>
<tr>
<td height="78" colspan="10">
<img src="images/index_29.jpg" width="960" height="78" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="38" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="161" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="167" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="155" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="79" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="62" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="101" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="163" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="16" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="18" height="1" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
<map name="Map"><area shape="rect" coords="231,14,331,147" href="product/product02.html">
<area shape="rect" coords="231,14,331,147" href="product/product01.html">
<area shape="rect" coords="69,13,171,148" href="product/product01.html">
<area shape="rect" coords="389,12,490,147" href="product/product03.html">
<area shape="rect" coords="550,12,650,147" href="product/product04.html">
<area shape="rect" coords="711,13,811,146" href="product/product05.html">
</map>
</body>
</center>
</html>
|
|
|
|
|
Date :
2018-05-04 22:43:42 |
By :
art9397 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ทักษะ ยังไม่ถืง อย่าพึ่งนำมา Copy ว่างเลยครับ
Code (PHP)
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script>
<link href='https://fonts.googleapis.com/css?family=Raleway:400,600,900' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="js/jquery.blueberry.js"></script>
ต้องดูก่อนว่าใน ส่วนนี้คุณมี File ที่ว่าไหม และ ถ้าคุณทำแบบ offline Script ดั่งกล่าว จะไม่ทำงานน่ะ ครับ
|
|
|
|
|
Date :
2018-05-05 08:21:14 |
By :
Hararock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|