From 2010.igem.org
(Difference between revisions)
|
|
Line 187: |
Line 187: |
| | | |
| | | |
- | #iGEM {
| |
- | position: relative;
| |
- | float:right;
| |
- | width: 180px;
| |
- | margin: 0px;
| |
- | padding: 0px;
| |
- | border: 0px solid #42CBDC;
| |
- | }
| |
- |
| |
| | | |
| --> | | --> |
Line 209: |
Line 200: |
| | | |
| | | |
- | <script type="text/javascript" src="http://kitchen.net-perspective.com/sf-example/jquery.js"></script>
| |
- | <script type="text/javascript" src="http://kitchen.net-perspective.com/sf-example/ui.core.js"></script>
| |
- | <script type="text/javascript" src="http://kitchen.net-perspective.com/sf-example/jquery.scroll-follow.js"></script>
| |
- |
| |
- | <script type="text/javascript">
| |
- | $( document ).ready( function ()
| |
- | {
| |
- | $( '#iGEM' ).scrollFollow();
| |
- | }
| |
- | );
| |
- | </script>
| |
| | | |
| | | |
Line 226: |
Line 206: |
| | | |
| <body> | | <body> |
- | <div id="iGEM">
| + | |
- |
| + | |
- | <img src="/images/ducks.png" alt="Ducks" />
| + | |
- |
| + | |
- | <p>
| + | |
- | This is a simple example of Scroll Follow. Scroll down to see what happens.
| + | |
- | </p>
| + | |
- |
| + | |
- | <p>
| + | |
- | <a href="http://kitchen.net-perspective.com/open-source/scroll-follow/">Back to Scroll Follow home.</a>
| + | |
- | </p>
| + | |
- | </div>
| + | |
| | | |
| </body> | | </body> |
| </html> | | </html> |
Revision as of 04:05, 24 October 2010