This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't provide that).

Member Avatar
Member Avatar
+0 forum 2

This function takes a string and an output buffer and a desired width. It then copies the string to the buffer, inserting a new line character when a certain line length is reached. If the end of the line is in the middle of a word, it will backtrack along the string until white space is found. This code snippet is created originally by [Sean Hubbard](http://www.cprogramming.com/snippets/source-code/word-wrap-in-c) , I simply am sharing what I learned. I thought it would be best to share his example. Mine is a bit too confusing to understand... his is a lot easier, trust me.

Member Avatar
Member Avatar
+0 forum 2

This is just a simple image fade. This is the HTML: <a href="#"><img src="#.png" class="fade"> Pretty simple, right?

Member Avatar
Member Avatar
+0 forum 6

The End.