Resizing jQuery dialogs

Resizing jQuery dialogs

I have a quick way of producing dialogs by specifying class=”modal” with a href=”the modal id”, and a div with class=”modal” and id=”the modal id”. View the demo What was annoying me is that when the page was resized to...
Writing UTF-8 XML files with Java

Writing UTF-8 XML files with Java

I had a method to write XML files with FileWriter but discovered when I wanted to (…allow my customers to…) use special characters it fell over. I needed to use a FileOutputStream in order to deal with bytes. Original method:   public void oldWriteXML()...