Sorry Matt, I have been busy with other things. Weird site - it's not the only one either - here's another:
http://www.jqueryhome.com/crossbrows...-printout.html
As for the notepad script, it works in IE only. I might be being a bit harsh in the other browsers because from my investigations, it appears this might be a rare case of IE getting it right for once!
In FF, apart from the fact that it fails to load up the print dialog box, there is a problem in that the textarea box has to be expanded before all the textarea contents will print out (so I read). There is a routine I found which does just that, but it prints out the entire webpage - not just the textarea contents:
Code:
function printNodes()
{
var taArray = document.getElementsByTagName('WRKNOTEPAD');
for(count=0;count<taArray.length;count+=1)
{
taArray[count].style.height = 0;
taArray[count].style.height = (taArray[count].scrollHeight+7) + "px";
}
window.print();
}
Please let me know if you wish to tackle making this crossbrowser!