Team:UCSF/Safety
From 2010.igem.org
(Difference between revisions)
Line 60: | Line 60: | ||
z-index:5; | z-index:5; | ||
} | } | ||
+ | |||
+ | |||
+ | #Side{ | ||
+ | position:absolute; | ||
+ | left:0px; | ||
+ | top:0px; | ||
+ | width:180px; | ||
+ | height:100%; | ||
+ | z-index:2; | ||
+ | background-color: #FFFFCC; | ||
+ | //height:100%; | ||
+ | } | ||
+ | |||
#SideBar { | #SideBar { | ||
position:absolute; | position:absolute; | ||
Line 66: | Line 79: | ||
width:170px; | width:170px; | ||
height:300px; | height:300px; | ||
- | z-index: | + | z-index:3; |
background-color: #6666CC; | background-color: #6666CC; | ||
border-color:#000; | border-color:#000; | ||
Line 77: | Line 90: | ||
<body> | <body> | ||
+ | <div id="Side"> | ||
<div id="SideBar"></div> | <div id="SideBar"></div> | ||
<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/jquery.js"></script> | ||
Line 86: | Line 100: | ||
$( '#SideBar' ).scrollFollow( | $( '#SideBar' ).scrollFollow( | ||
{ | { | ||
- | container: ' | + | container: 'Side' |
} | } | ||
); | ); | ||
} | } | ||
); | ); | ||
- | </script> | + | </script></div> |
<table border="0" cellpadding="0" cellspacing="0"> | <table border="0" cellpadding="0" cellspacing="0"> |
Revision as of 07:30, 31 August 2010
|