IGEM:IMPERIAL/2009/Sandbox

From OpenWetWare
Jump to navigationJump to search

Imperial College iGEM 09

<html> <head>

<SCRIPT LANGUAGE=JavaScript>

function TableauDynamique(e){ //recupère le deplacement du curseur sur l'axe des y

  y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;

//remarque: si ajout de ligne dans le menu, penser à modifier le calcul si nécessaire

  var taille="";

if (y<250){

  taille =Math.floor(y/110)*100;

} else if (y<750){

  taille =Math.floor(y/110)*100+50;

} else if (y<850){

  taille =Math.floor(y/110)*100+75;

} else{

  taille =Math.floor(y/110)*100+100;

}

  document.getElementById("cellule").style.height=taille;

} if (navigator.appName.substring(0,3) == "Net") document.captureEvents(Event.MOUSEMOVE); document.onmousemove = TableauDynamique;

</SCRIPT> </head>

<body>


<a href="#nb"> </a> <a href="#param"> </a> <a href="#option"></a> <a href="#resultat"> </a>
     
     
     1.

Nombre de Facteur(s)

      2.

Paramétrage de l'analyse

 3.

Options

 4.

Résultats

</body> </html>

<html> <head> <link rel="stylesheet" href="http://charlesfracchia.com/igemWiki/Menu/style.css" type="text/css" /> <script type="text/javascript" src="http://charlesfracchia.com/igemWiki/Menu/script.js"></script> </head> <body>

About
This lightweight (1.2 KB) JavaScript accordion can easily be customized to integrate with any website. For more information visit <a href="http://www.leigeber.com">leigeber.com</a>.
Instructions
To initialize an accordion use the following code:

var mySlider=new accordion.slider("mySlider");
mySlider.init("slider",0,"open");


The init function takes 3 parameters: the id of the "dl", the location of the initially expanded section (optional) and the class for the active header (optional).
Licensing & Support
This script is provided as-is with no warranty or guarantee. It is available at no cost for any project, non-commercial or commercial. Paid support is available by <a href="http://www.leigeber.com/contact/">clicking here</a>.
About
This lightweight (1.2 KB) JavaScript accordion can easily be customized to integrate with any website. For more information visit <a href="http://www.leigeber.com">leigeber.com</a>/
Instructions
To initialize an accordion use the following code:

var mySlider=new accordion.slider("mySlider");
mySlider.init("slider",0,"open");


The init function takes 3 parameters: the id of the "dl", the location of the initially expanded section (optional) and the class for the active header (optional).
Licensing & Support
This script is provided as-is with no warranty or guarantee. It is available at no cost for any project, non-commercial or commercial. Paid support is available by <a href="http://www.leigeber.com/contact/">clicking here</a>.

<script type="text/javascript"> var slider1=new accordion.slider("slider1"); slider1.init("slider");

var slider2=new accordion.slider("slider2"); slider2.init("slider2",0,"open"); </script>

</body> </html>