|
|
(107 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | {{Team:ATOMS-Turkiye/asoMenu}}
| |
| | | |
- | <html>
| |
- | <head>
| |
- |
| |
- | <!-- bxSlider Javascript file -->
| |
- | <script src="//cdn.jsdelivr.net/bxslider/4.1.1/jquery.bxslider.min.js"></script>
| |
- | <!-- bxSlider CSS file -->
| |
- | <link href="//cdn.jsdelivr.net/bxslider/4.1.1/jquery.bxslider.css" rel="stylesheet" />
| |
- |
| |
- |
| |
- | <style>
| |
- |
| |
- | body {
| |
- | font-family: "Calibri", sans-serif;
| |
- | }
| |
- |
| |
- | h1, h2, h3, h4, h5, h6 {
| |
- | font-family: "Khmer UI", sans-serif;
| |
- | }
| |
- |
| |
- | .col-header {
| |
- | color: rgb(192,0,0);
| |
- | font-size: 24px;
| |
- | }
| |
- | .three-col {
| |
- | position: relative;
| |
- | left: 10%;
| |
- | width: 80%;
| |
- | padding: 8px;
| |
- | }
| |
- | .three-col .col1 {
| |
- | float: left;
| |
- | width: 33%;
| |
- | padding: 16px;
| |
- | background: #fff;
| |
- | }
| |
- |
| |
- | .three-col .col2 {
| |
- | width: 34%;
| |
- | margin-right: 33%;
| |
- | margin-left: 33%;
| |
- | padding: 16px;
| |
- | background: #fff;
| |
- | border-style: solid;
| |
- | border-width: 4px;
| |
- | -moz-border-image: url(https://static.igem.org/mediawiki/2014/9/93/ATOMS-Turkiye_column_seperator.png) 7 8 8 repeat stretch;
| |
- | -webkit-border-image: url(https://static.igem.org/mediawiki/2014/9/93/ATOMS-Turkiye_column_seperator.png) 7 8 8 repeat stretch;
| |
- | -o-border-image: url(https://static.igem.org/mediawiki/2014/9/93/ATOMS-Turkiye_column_seperator.png) 7 8 8 repeat stretch;
| |
- | border-image: url(https://static.igem.org/mediawiki/2014/9/93/ATOMS-Turkiye_column_seperator.png) 7 8 8 fill repeat stretch;
| |
- | border-top: 0;
| |
- | border-bottom: 0;
| |
- |
| |
- | }
| |
- |
| |
- | .three-col .col3 {
| |
- | float: right;
| |
- | width: 33%;
| |
- | padding: 16px;
| |
- | background: #fff;
| |
- | }
| |
- |
| |
- |
| |
- | .bxslider span {
| |
- | cursor: pointer;
| |
- | }
| |
- |
| |
- | .bx-wrapper {
| |
- | margin-bottom: 10px;
| |
- | margin-top: 50px;
| |
- | }
| |
- |
| |
- | .bx-wrapper .bx-viewport {
| |
- | left: 0;
| |
- | }
| |
- |
| |
- |
| |
- | #rightmenu
| |
- | {
| |
- | list-style: none;
| |
- | float: right;
| |
- | width: 20%;
| |
- | margin-right: 10%;
| |
- | display: inline-block;
| |
- | min-width: 200px;
| |
- | margin-top: 50px;
| |
- | }
| |
- |
| |
- | #rightmenu li {
| |
- | list-style: none;
| |
- | margin: 0;
| |
- | padding: 0;
| |
- | background: rgb(211,0,0);
| |
- | line-height: 50px;
| |
- |
| |
- |
| |
- | border-style: solid;
| |
- | border-width: 0px 0px 3px;
| |
- | -moz-border-image: url(https://static.igem.org/mediawiki/2014/c/cc/ATOMS-Turkiye_separator_right.png) 3 26 3 27 stretch repeat;
| |
- | -webkit-border-image: url(https://static.igem.org/mediawiki/2014/c/cc/ATOMS-Turkiye_separator_right.png) 3 26 3 27 stretch repeat;
| |
- | -o-border-image: url(https://static.igem.org/mediawiki/2014/c/cc/ATOMS-Turkiye_separator_right.png) 3 26 3 27 stretch repeat;
| |
- | border-image: url(https://static.igem.org/mediawiki/2014/c/cc/ATOMS-Turkiye_separator_right.png) 3 26 3 27 stretch repeat;
| |
- | }
| |
- |
| |
- | #rightmenu li:last-child {
| |
- | border-bottom: 0;
| |
- | }
| |
- |
| |
- | #rightmenu a {
| |
- | font-family: "Khmer UI", sans-serif;
| |
- | color: #ffffff;
| |
- | display: block;
| |
- | text-align: center;
| |
- | text-decoration: none;
| |
- | margin: 0;
| |
- | padding-top: 0px;
| |
- | height: 50px;
| |
- | background: rgb(211,0,0);
| |
- | }
| |
- |
| |
- | #rightmenu a:hover {
| |
- | background: rgb(160,40,40);
| |
- | }
| |
- |
| |
- | </style>
| |
- |
| |
- | <script>
| |
- | $(document).ready(function(){
| |
- |
| |
- | var captions = new Array();
| |
- | captions["This is a test caption. For more info click this caption."] = "http://link_to_caption1";
| |
- | captions["This is a test caption. For more info click this caption."] = "http://link_to_caption2";
| |
- | captions["This is a test caption. For more info click this caption."] = "http://link_to_caption3";
| |
- | captions["This is a test caption. For more info click this caption."] = "http://link_to_caption4";
| |
- | captions["This is a test caption. For more info click this caption."] = "http://link_to_caption5";
| |
- |
| |
- | var keys = [];
| |
- | for (var key in captions) {
| |
- | if (captions.hasOwnProperty(key)) {
| |
- | keys.push(key);
| |
- | }
| |
- | }
| |
- |
| |
- | $('.bxslider img').each(function( index ) {
| |
- | $(this).attr("title",keys[index]);
| |
- | });
| |
- | $('.bxslider').bxSlider({
| |
- | adaptiveHeight: true,
| |
- | slideWidth: 500,
| |
- | captions: true,
| |
- | pagerCustom: '#bx-pager'
| |
- | });
| |
- |
| |
- |
| |
- | $('.bx-caption span').click(function() {
| |
- | window.location = captions[$(this).text()];
| |
- | });
| |
- |
| |
- | });
| |
- | </script>
| |
- |
| |
- | </head>
| |
- |
| |
- | <body>
| |
- |
| |
- | <ul id="rightmenu">
| |
- | <li><a href="#">Deneme 1</a></li>
| |
- | <li><a href="#">Deneme 2</a></li>
| |
- | <li><a href="#">Deneme 3</a></li>
| |
- | <li><a href="#">Deneme 4</a></li>
| |
- | </ul>
| |
- |
| |
- | <div class="slider-container" style="width: 600px; margin-left: 10%; margin-right: 30%">
| |
- |
| |
- | <ul class="bxslider" style="margin: 0;">
| |
- | <li><img src="http://placehold.it/1000x700" title= "This is a test caption. For more info click this caption."></li>
| |
- | <li><img src="http://placehold.it/1000x700" title= "This is a test caption. For more info click this caption."></li>
| |
- | <li><img src="http://placehold.it/1000x700" title= "This is a test caption. For more info click this caption."></li>
| |
- | <li><img src="http://placehold.it/1000x700" title= "This is a test caption. For more info click this caption."></li>
| |
- | <li><img src="http://placehold.it/1000x700" title= "This is a test caption. For more info click this caption."></li>
| |
- | </ul>
| |
- |
| |
- | <center>
| |
- | <div id="bx-pager" >
| |
- | <a data-slide-index="0" href=""><img src="http://placehold.it/80x80" /></a>
| |
- | <a data-slide-index="1" href=""><img src="http://placehold.it/80x80" /></a>
| |
- | <a data-slide-index="2" href=""><img src="http://placehold.it/80x80" /></a>
| |
- | <a data-slide-index="3" href=""><img src="http://placehold.it/80x80" /></a>
| |
- | <a data-slide-index="4" href=""><img src="http://placehold.it/80x80" /></a>
| |
- | </div>
| |
- | </center>
| |
- |
| |
- | </div>
| |
- |
| |
- | <div class="three-col">
| |
- |
| |
- | <div class = "col1"><center><h2 class = "col-header">Lorem Ipsum</h2><p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p></center></div>
| |
- | <div class = "col3"><center><h2 class = "col-header">Ipsum Lorem</h2><p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p></center></div>
| |
- | <div class = "col2"><center><h2 class = "col-header">Ipsum Ipsum</h2><p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p></center></div>
| |
- |
| |
- |
| |
- | </div>
| |
- |
| |
- |
| |
- |
| |
- | </body>
| |
- |
| |
- | </html>
| |
- | {{Team:ATOMS-Turkiye/asoFooter}}
| |