Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
Line 35: Line 35:
     }
     }
-
    <nowiki>
 
function abbrSubnavText(displayText){
function abbrSubnavText(displayText){
   if (displayText.length >= 23){
   if (displayText.length >= 23){
Line 44: Line 43:
       i++;
       i++;
       newDisplayText = newDisplayText + ' ' + arrayAbbrText[i];
       newDisplayText = newDisplayText + ' ' + arrayAbbrText[i];
-
     }while (i < arrayAbbrText.length && newDisplayText.length < 23)
+
     }while (i < arrayAbbrText.length </html>&&<html> newDisplayText.length < 23)
     return newDisplayText;
     return newDisplayText;
   }else{
   }else{
Line 50: Line 49:
   }
   }
}
}
-
</nowiki>
 
$('h2[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>');
$('h2[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>');

Revision as of 16:15, 24 September 2012