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

Line 60: Line 60:
 
//function Help(text,Lnx,Lny) {
 
//function Help(text,Lnx,Lny) {
 
function Help(text,id) {
 
function Help(text,id) {
   //var n = ((texte.length)/45)+2;
+
   var n = ((texte.length)/115)+1;
 +
  //var n=2;
 
   var element = document.getElementById(id);
 
   var element = document.getElementById(id);
 
   var Lny = element.offsetTop + element.offsetHeight;
 
   var Lny = element.offsetTop + element.offsetHeight;
 
   var Lnx = element.offsetLeft;
 
   var Lnx = element.offsetLeft;
 
    
 
    
  n=2;
 
 
   PreBule="<textarea cols=115 rows="+n+" id='note' name='Texte' readonly>"+text+"</textarea>";
 
   PreBule="<textarea cols=115 rows="+n+" id='note' name='Texte' readonly>"+text+"</textarea>";
 
   if (document.layers) {
 
   if (document.layers) {

Revision as of 10:02, 8 September 2015

Notebook

Search for a content: