Revision: 26805
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 11, 2010 10:39 by delibash
Initial Code
function vert (elem) { var el = document.getElementsByTagName(elem); for (var i=0; i < el.length; i++) { var ex = el[i].childNodes[0]; if (el[i].nodeType === 1) { el[i].innerHTML = el[i].innerHTML.split('').join('<br/>'); }; }; } vert('th');
Initial URL
Initial Description
Initial Title
Make TABLE TH element's innerHTML vertical
Initial Tags
javascript
Initial Language
JavaScript