User:Supacalafrglstic

From 2010.igem.org

(Difference between revisions)
Line 12: Line 12:
  background: white;
  background: white;
  border: 2px dashed white;
  border: 2px dashed white;
-
  z-index: 100;"><font face=courier>"Dodgeball is a sport of violence, exclusion, and degradation." <br> -Patches</font></div>
+
  z-index: 100;">
 +
<font face=courier>"Dodgeball is a sport of violence, exclusion, and degradation." <br> -Patches</font></div>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
 +
<script>
<script>
google.load("jquery", "1.4.2");
google.load("jquery", "1.4.2");
</script>
</script>
 +
<script language="javascript" src="jquery.dimensions.js"></script>
 +
<script type="text/javascript">
 +
var name = "#floatMenu";
 +
var menuYloc = null;
 +
$(document).ready(function(){
 +
  $(window).scroll(function(){
 +
    var offset = menuYloc+$(document).scrollTop()+"px";
 +
    $(name).animate({top:offset},{duration:500,queue:false});
 +
});
 +
});
 +
 +
</script>
<script type="text/javascript">
<script type="text/javascript">
function initMenu() {
function initMenu() {
Line 102: Line 116:
#floatMenu {   
#floatMenu {   
  position:absolute;   
  position:absolute;   
-
  top:150px;   
+
  top:15px;   
  left:50%;   
  left:50%;   
  margin-left:235px;   
  margin-left:235px;   
Line 114: Line 128:
#floatMenu ul li a {   
#floatMenu ul li a {   
  display:block;   
  display:block;   
-
  border:1px solid black;   
+
  border:1px solid black;  
 +
  font: 10px black;
  background-color: white;   
  background-color: white;   
  border-left:6px solid black;   
  border-left:6px solid black;   
-
  text-decoration:none;
+
  text-decoration:none;
-
color: white; 
+
  padding:5px 5px 5px 25px;   
  padding:5px 5px 5px 25px;   
  }   
  }   
 +
 +
#floatMenu ul.float li a:hover {
 +
border-color: pink;
 +
}
.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }
.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }
Line 140: Line 158:
<div id="floatMenu">   
<div id="floatMenu">   
-
   <ul>
+
   <ul class="float">
-
     <li><a href="#" onclick="returnfalse;">home</a></li>
+
     <li><a href="#" onclick="returnfalse;"> home </a></li>
-
     <li><a href="#" onclick="returnfalse;">team</a></li>
+
     <li><a href="#" onclick="returnfalse;"> team </a></li>
   </ul>  
   </ul>  
</div>   
</div>   

Revision as of 02:33, 24 July 2010

"Dodgeball is a sport of violence, exclusion, and degradation."
-Patches

leanna morinishi


not all those who wander are lost.