Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="ko">
- <head>
- <meta charset="UTF-8">
- <title>윤남조</title>
- <style>
- body {
- margin: 0;
- }
- #wrap {
- margin: 0 auto;
- width: 1200px;
- height: 1300px;
- }
- header {
- width: 1150px;
- height: 30px;
- background-color: #333;
- text-align: right;
- padding-right: 50px;
- }
- header a {
- color: #fff;
- text-decoration: none;
- line-height: 30px;
- font-size: 0.8em;
- font-weight: bold;
- padding: 5px;
- }
- nav {
- width: 100%;
- height: 80px;
- background-color: yellow;
- border-bottom: 2px solid #333;
- }
- #logo {
- float: left;
- width: 300px;
- height: 70px;
- padding-top: 10px;
- text-align: center;
- }
- #menu {
- float: left;
- width: 900px;
- height: 80px;
- text-align: center;
- line-height: 80px;
- }
- #menu a {
- text-decoration: none;
- color: #333;
- font-weight: bold;
- font-size: 0.9em;
- padding: 0 10px;
- }
- #visual {
- border-bottom: 2px solid #333;
- width:1200px;
- height:350px;
- overflow: hidden;
- }
- .link {
- width: 100%;
- height: 70px;
- background-color: #333;
- }
- .link span {
- padding: 0 0 0 30px;
- line-height: 70px;
- font-weight: bold;
- color: #fff;
- font-size: 20px;
- }
- .link-bottom{
- width: 1200px;
- height: 245px;
- border-bottom: 5px solid #333;
- }
- .link-bottom div {
- float: left;
- width: 300px;
- height: 245px;
- }
- .blue {
- background-color: blue;
- }
- .red {
- background-color: red;
- }
- .yellow {
- background-color: yellow;
- }
- .green {
- background-color: green;
- }
- .bottom {
- width: 1200px;
- height: 400px;
- }
- .left {
- float: left;
- width: 400px;
- height: 400px;
- }
- .left-top {
- width: 400px;
- height: 100px;
- background-color: yellow;
- }
- .left-bottom {
- width: 400px;
- height: 300px;
- background-color: green;
- }
- .center {
- float: left;
- width: 400px;
- height: 400px;
- background-color: blue;
- }
- .right {
- float: left;
- width: 400px;
- height: 400px;
- background-color: red;
- }
- .footer {
- width: 1200px;
- height: 50px;
- }
- .footer-top {
- margin: 0 auto;
- width: 800px;
- height: 50px;
- background-color: yellow;
- }
- .footer-center {
- margin: 0 auto;
- text-align: center;
- }
- .footer-center span {
- padding: 20px;
- font-size: 10px;
- }
- .footer-bottom {
- margin: 0 auto;
- text-align: center;
- }
- .footer-bottom span {
- font-size: 10px;
- }
- </style>
- <script src="jquery-1.11.2.js"></script>
- </head>
- <body>
- <div id="wrap">
- <header>
- <a href="">언어변경</a>
- <a href="">숙련기술 장터</a>
- <a href="">국제협력</a>
- <a href="">로그인</a>
- </header>
- <nav>
- <div id="logo">
- <img src="http://lorempixel.com/180/60/food" alt="로고">
- </div>
- <div id="menu">
- <a href="">글로벌진흥원소개</a>
- <a href="">숙련기술전수</a>
- <a href="">기능경기</a>
- <a href="">전수신청</a>
- </div>
- </nav>
- <section id="visual">
- <img id="img1" src="http://lorempixel.com/1200/350/nature" alt="그림1">
- <img id="img2" src="http://lorempixel.com/1200/350/food" alt="그림2">
- <img id="img3" src="http://lorempixel.com/1200/350/sports" alt="그림3">
- <img id="img4" src="http://lorempixel.com/1200/350/city" alt="그림4">
- </section>
- <div class="link">
- <span>바로가기</span>
- </div>
- <div class="link-bottom">
- <div class="blue"></div>
- <div class="red"></div>
- <div class="yellow"></div>
- <div class="green"></div>
- </div>
- <div class="bottom">
- <div class="left">
- <div class="left-top"></div>
- <div class="left-bottom"></div>
- </div>
- <div class="center"></div>
- <div class="right"></div>
- </div>
- <div class="footer">
- <div class="footer-top"></div>
- <div class="footer-center">
- <span>개인정보 취급방침</span>
- <span>찾아오시는 길</span>
- <span>도로명 주소안내</span>
- <span>저작권보호 정책</span>
- </div>
- <div class="footer-bottom">
- <span>Copyright 2013(c) Global Lnatitute For Tranaferring Skills All rights reserved</span>
- </div>
- </div>
- </div>
- <script>
- var pn = 1;
- var timer = setInterval( function(){
- $("#img" + pn).fadeOut("slow");
- pn = pn + 1;
- if( pn > 4 ) pn = 1;
- $("#visual img").hide();
- //$("#img" + pn).show();
- //$("#img" + pn).slideDown("slow");
- $("#img" + pn).fadeIn("slow");
- },3000 );
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment