Team:Harvard/Slider Test

From 2011.igem.org

(Difference between revisions)
 
(269 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<html>
 +
<head>
 +
    <title>Really Awesome Webpage </title>
 +
    <script type="text/javascript">
 +
$(document).ready(function(){
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
  $("button").click(function(){
 +
      var number=$("#box").val();
 +
      var output=number*number;
 +
      $("#paragraph1").html(output);
 +
      if (number == 5){
 +
        alert("you chose 5 sucker");
 +
      }
 +
  });
 +
});
 +
</script>
 +
<style type="text/css">
-
<head>
+
#catlinks {
-
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+
height: 0px;
-
<title>Coda-Slider 2.0</title>
+
overflow: hidden;
-
<meta http-equiv="Content-Language" content="en-us" />
+
display: none;
-
+
border:  }#catlinks {
-
<meta name="author" content="Niall Doherty" />
+
height: 0px;
-
+
overflow: hidden;
-
<!-- Begin Stylesheets -->
+
display: none;
-
<link rel="stylesheet" href="http://www.ndoherty.biz/demos/coda-slider/2.0/stylesheets/reset.css" type="text/css" media="screen" />
+
border:  }
-
<link rel="stylesheet" href="http://www.ndoherty.biz/demos/coda-slider/2.0/stylesheets/coda-slider-2.0.css" type="text/css" media="screen" />
+
 
-
<!-- End Stylesheets -->
+
/* Wiki Hacks from NorthWestern - START */
-
+
 
-
<!-- Begin JavaScript -->
+
#top-section {
-
<script type="text/javascript" src="http://www.ndoherty.biz/demos/coda-slider/2.0/javascripts/jquery-1.3.2.min.js"></script>
+
    height: 10px;
-
<script type="text/javascript" src="http://www.ndoherty.biz/demos/coda-slider/2.0/javascripts/jquery.easing.1.3.js"></script>
+
    margin-top: 0px;
-
<script type="text/javascript" src="http://www.ndoherty.biz/demos/coda-slider/2.0/javascripts/jquery.coda-slider-2.0.js"></script>
+
    margin-left: auto;
-
<script type="text/javascript">
+
    margin-right: auto;
-
$().ready(function() {
+
    margin-bottom: 0 !important;
-
$('#coda-slider-1').codaSlider();
+
    margin-bottom: 0px;
-
});
+
    padding:0;
-
</script>
+
    border: 0;
-
<!-- End JavaScript -->
+
    }
-
+
#p-logo {
 +
    height:0px;
 +
    overflow:hidden;
 +
    border:none;
 +
    }
 +
#search-controls {
 +
    overflow:hidden;
 +
    display:none;
 +
    background: none;
 +
    position: absolute;
 +
    top: 100px;
 +
    right: 40px;
 +
    }         
 +
 
 +
 
 +
/* Wiki Hacks - END */
 +
 
 +
 
 +
 
 +
#menubar {
 +
background-color:transparent;
 +
font-size:85%;
 +
line-height:1em;
 +
position:absolute;
 +
top:10px;
 +
white-space:nowrap;
 +
width:50%;
 +
z-index:5;
 +
height:25px;
 +
overflow:hidden;
 +
}
 +
 
 +
#menubar li a {
 +
color:#8C8984;
 +
        background-color:transparent;
 +
}
 +
 
 +
.left-menu {
 +
left:0;
 +
padding-left: 13px;
 +
}
 +
.right-menu  {
 +
right:0;
 +
       
 +
}
 +
 
 +
.firstHeading { display:none; }
 +
}
 +
 
 +
 
 +
 
 +
 
 +
#footer-box {
 +
background-color: transparent;
 +
color: #000000;
 +
border: 0px;
 +
margin:0 auto;
 +
padding:13px 5px;
 +
width:auto;
 +
margin-top:-1px;
 +
}
 +
 
 +
#footer-box a {
 +
        background-color: transparent;
 +
color: #000000;
 +
font-size:90%;
 +
 
 +
}
 +
/* Wiki Hacks - END */
 +
 
 +
 
 +
#footer-box {
 +
height: 0px;
 +
overflow: hidden;
 +
display: none;
 +
border:  }
 +
 
 +
 
 +
#catlinks {
 +
height: 0px;
 +
overflow: hidden;
 +
display: none;
 +
border:  }
 +
 
 +
</style>
</head>
</head>
-
<body class="coda-slider-no-js">
+
<body>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<h1>My Really Awesome Website</h1>
 +
 
 +
<a href="https://2011.igem.org/wiki/index.php?title=Team:Harvard/Slider_Test&action=edit">Edit This Page</a>
 +
 
 +
<p>iGEM 2011 baby!</p>
 +
<p>This is another paragraph. Pretty cool, huh?</p>
 +
<input id="box" type="text">
 +
<p id="paragraph1">This is a temporary paragraph.</p>
 +
<button type="button">Display Square</button>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<!-- Save for Web Slices (bar-Test.psd) -->
 +
<table id="Table_01" width="1000" height="85" border="0" cellpadding="0" cellspacing="0">
 +
<tr>
 +
<td colspan="13">
 +
<img src="https://static.igem.org/mediawiki/2011/8/81/Bar-Test_01.png" width="1000" height="23" alt=""></td>
 +
</tr>
 +
 
 +
<tr>
 +
<td colspan="6">
 +
<img src="https://static.igem.org/mediawiki/2011/3/38/Bar-Test_02.png" width="446" height="2" alt=""></td>
 +
<td rowspan="2">
 +
<a href="https://2011.igem.org/Team:Harvard/Team">
 +
 
 +
<img src="https://static.igem.org/mediawiki/2011/4/4e/Team.gif" name="mousetest" onMouseOver="document.images['mousetest'].src='https://static.igem.org/mediawiki/2011/a/a8/Project.gif'"
 +
onMouseOut="document.images['mousetest'].src='image_w3default.gif'" width="105" height="36 />
 +
 
 +
 
 +
 
 +
</a></td>
 +
<td colspan="6">
 +
<img src="https://static.igem.org/mediawiki/2011/0/0e/Bar-Test_04.png" width="445" height="2" alt=""></td>
 +
</tr>
 +
 
 +
<tr>
 +
<td rowspan="3">
 +
<img src="https://static.igem.org/mediawiki/2011/7/72/Bar-Test_05.png" width="121" height="60" alt=""></td>
 +
<td>
 +
<a href="https://2011.igem.org/Team:Harvard/Project">
 +
<img src="https://static.igem.org/mediawiki/2011/a/a8/Project.gif" width="105" height="36" border="0" alt=""></a></td>
 +
<td rowspan="3">
 +
<img src="https://static.igem.org/mediawiki/2011/3/37/Bar-Test_07.png" width="3" height="60" alt=""></td>
 +
<td>
 +
 
 +
<a href="https://2011.igem.org/Team:Harvard/Tech">
 +
<img src="https://static.igem.org/mediawiki/2011/6/6b/Tech.gif" width="109" height="36" border="0" alt=""></a></td>
 +
<td>
 +
<a href="https://2011.igem.org/Team:Harvard/Results">
 +
<img src="https://static.igem.org/mediawiki/2011/9/9c/Results.gif" width="106" height="36" border="0" alt=""></a></td>
 +
<td rowspan="3">
 +
<img src="https://static.igem.org/mediawiki/2011/4/4d/Bar-Test_10.png" width="2" height="60" alt=""></td>
 +
<td>
 +
<a href="https://2011.igem.org/Team:Harvard/Notebook">
 +
 
 +
<img src="https://static.igem.org/mediawiki/2011/6/6c/Notebook.gif" width="106" height="36" border="0" alt=""></a></td>
 +
<td>
 +
<a href="https://2011.igem.org/Team:Harvard/Biosafety">
 +
<img src="https://static.igem.org/mediawiki/2011/e/e5/Biosafety.gif" width="111" height="36" border="0" alt=""></a></td>
 +
<td rowspan="3">
 +
<img src="https://static.igem.org/mediawiki/2011/0/0e/Bar-Test_13.png" width="1" height="60" alt=""></td>
 +
<td rowspan="2">
 +
<a href="https://2011.igem.org/Team:Harvard/Media">
 +
<img src="https://static.igem.org/mediawiki/2011/4/4e/Media.gif" width="108" height="37" border="0" alt=""></a></td>
 +
 
 +
<td>
 +
<a href="https://2011.igem.org/Team:Harvard/iGEM">
 +
<img src="https://static.igem.org/mediawiki/2011/3/3a/IGEM.jpg" width="108" height="36" border="0" alt=""></a></td>
 +
<td rowspan="3">
 +
<img src="https://static.igem.org/mediawiki/2011/b/bd/Bar-Test_16.png" width="11" height="60" alt=""></td>
 +
</tr>
 +
<tr>
 +
<td rowspan="2">
 +
<img src="https://static.igem.org/mediawiki/2011/1/1c/Bar-Test_17.png" width="105" height="24" alt=""></td>
 +
 
 +
<td colspan="2" rowspan="2">
 +
<img src="https://static.igem.org/mediawiki/2011/3/33/Bar-Test_18.png" width="215" height="24" alt=""></td>
 +
<td colspan="3" rowspan="2">
 +
<img src="https://static.igem.org/mediawiki/2011/c/cd/Bar-Test_19.png" width="326" height="24" alt=""></td>
 +
<td>
 +
<img src="https://static.igem.org/mediawiki/2011/c/cd/Bar-Test_20.gif" width="108" height="1" alt=""></td>
 +
</tr>
 +
<tr>
 +
<td colspan="2">
 +
 
 +
<img src="https://static.igem.org/mediawiki/2011/1/16/Bar-Test_21.png" width="216" height="23" alt=""></td>
 +
</tr>
 +
</table>
 +
<!-- End Save for Web Slices -->
 +
 
-
<h1>Coda-Slider 2.0</h1>
+
<iframe src="http://www.facebook.com/plugins/like.php?app_id=224012380968417&amp;href=http%3A%2F%2F2011.igem.org%2FTeam%3AHarvard&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
-
+
-
<noscript>
+
-
<div>
+
-
        <p>Unfortunately your browser does not hava JavaScript capabilities which are required to exploit full functionality of our site. This could be the result of two possible scenarios:</p>
+
-
        <ol>
+
-
            <li>You are using an old web browser, in which case you should upgrade it to a newer version. We recommend the latest version of <a href="http://www.getfirefox.com">Firefox</a>.</li>
+
-
            <li>You have disabled JavaScript in you browser, in which case you will have to enable it to properly use our site. <a href="http://www.google.com/support/bin/answer.py?answer=23852">Learn how to enable JavaScript</a>.</li>
+
-
        </ol>
+
-
    </div>
+
-
</noscript>
+
-
<div class="coda-slider-wrapper">
 
-
<div class="coda-slider preload" id="coda-slider-1">
 
-
<div class="panel">
 
-
<div class="panel-wrapper">
 
-
<h2 class="title">Panel 1</h2>
 
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.</p>
 
-
</div>
 
-
</div>
 
-
<div class="panel">
 
-
<div class="panel-wrapper">
 
-
<h2 class="title">Panel 2</h2>
 
-
<p>Proin nec turpis eget dolor dictum lacinia. Nullam nunc magna, tincidunt eu porta in, faucibus sed magna. Suspendisse laoreet ornare ullamcorper. Nulla in tortor nibh. Pellentesque sed est vitae odio vestibulum aliquet in nec leo.</p>
 
-
</div>
 
-
</div>
 
-
<div class="panel">
 
-
<div class="panel-wrapper">
 
-
<h2 class="title">Panel 3</h2>
 
-
<p>Cras luctus fringilla odio vel hendrerit. Cras pulvinar auctor sollicitudin. Sed lacus quam, sodales sit amet feugiat sit amet, viverra nec augue. Sed enim ipsum, malesuada quis blandit vel, posuere eget erat. Sed a arcu justo. Integer ultricies, nunc at lobortis facilisis, ligula lacus vestibulum quam, id tincidunt sapien arcu in velit. Vestibulum consequat augue et turpis condimentum mollis sed vitae metus. Morbi leo libero, tincidunt lobortis fermentum eget, rhoncus vel sem. Morbi varius viverra velit vel tempus. Morbi enim turpis, facilisis vel volutpat at, condimentum quis erat. Morbi auctor rutrum libero sed placerat. Etiam ipsum velit, eleifend in vehicula eu, tristique a ipsum. Donec vitae quam vel diam iaculis bibendum eget ut diam. Fusce quis interdum diam. Ut urna justo, dapibus a tempus sit amet, bibendum at lectus. Sed venenatis molestie commodo.</p>
 
-
</div>
 
-
</div>
 
-
<div class="panel">
 
-
<div class="panel-wrapper">
 
-
<h2 class="title">Panel 4</h2>
 
-
<p>Nulla ultricies ornare erat, a rutrum lacus varius nec. Pellentesque vehicula lobortis dignissim. Ut scelerisque auctor eros sed porttitor. Nullam pulvinar ultrices malesuada. Quisque lobortis bibendum nisi et condimentum. Mauris quis erat vel dui lobortis dignissim.</p>
 
-
</div>
 
-
</div>
 
-
</div><!-- .coda-slider -->
 
-
</div><!-- .coda-slider-wrapper -->
 
</body>
</body>
</html>
</html>

Latest revision as of 18:47, 19 July 2011

Really Awesome Webpage

My Really Awesome Website

Edit This Page

iGEM 2011 baby!

This is another paragraph. Pretty cool, huh?

This is a temporary paragraph.