Difference between revisions of "Team:Paris Bettencourt/bepo"

Line 1: Line 1:
 
{{Template:Paris_Bettencourt}}
 
{{Template:Paris_Bettencourt}}
 
<html>
 
<html>
<script>  
+
<script>
     $(function(){
+
function GetURLParameter(sParam)
      $("#test").load("https://2015.igem.org/wiki/index.php?title=Team:Paris_Bettencourt/bepo2&action=raw");  
+
{
    });
+
  var sPageURL = window.location.search.substring(1);
 +
  var sURLVariables = sPageURL.split('&');
 +
  for (var i = 0; i < sURLVariables.length; i++)
 +
  {
 +
     var sParameterName = sURLVariables[i].split('=');
 +
    if (sParameterName[0] == sParam)
 +
    {
 +
        return sParameterName[1];
 +
    }
 +
  }
 +
}
 +
$(function(){
 +
  var pinc = GetURLParameter('p');
 +
  $("#test").load(pinc);
 +
});
 
     </script>  
 
     </script>  
 
<style>
 
<style>

Revision as of 17:27, 28 July 2015