Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 110: Line 110:
<!--STICKY SIDEBAR-->
<!--STICKY SIDEBAR-->
-
<script type="text/javascript">
+
<!--js-->
-
+
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
-
    $(document).ready(
+
<script src="js/stickySidebar.js"></script>
-
        function(){
+
-
        $("#support").click(function () {
+
<script>
-
            $(".popup").fadeToggle(150);
+
$(document).ready(function() {
-
            return false;
+
-
        });
+
$('#sidebar').stickySidebar({
-
    });
+
sidebarTopMargin: 20,
-
+
footerThreshold: 100
-
</script>
+
});
 +
 +
});
 +
</script>
</html>
</html>

Revision as of 23:50, 4 August 2014