Difference between revisions of "Team:Pasteur Paris/TrainingThomas"

Line 81: Line 81:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
$(document).ready(maFonctionDeTest());
+
 
function maFonctionDeTest(){
+
$(document).ready(function() {
    $("#SVGcontainer").on("click", function () {
+
$('#SVGcontainer').on('click', function() {
    css("left","100%");
+
$(this).css("left", "100%");
    });
+
});
}
+
});
 
</script>
 
</script>
 
<div id="SVGcontainer">
 
<div id="SVGcontainer">

Revision as of 15:21, 3 September 2018

""