Zend Certified Engineer

phpguru.org

Quality PHP and Javascript code
Download RGraph: HTML5 canvas graph library... Home ~ Downloads ~ FAQs ~ Licensing
RSS Feed RSS Feed
Follow me on Twitter Follow me on Twitter

Add to Google...

HTML5 & CSS3

Articles

Javascript

PHP5

PHP4






Bookmark with delicious tweet this site Post to Google Buzz! Stumble! this site

Messaging users

The perrenial problem of messaging users. Users with a capital L. Well, maybe not. But this function still makes it easier. A simple function which outputs some pretty HTML and CSS which displays a nice message to the user. Bung the CSS in a common CSS file if you want to save some bandwidth, otherwise simply call the function with two args. The first is the bold warning message, whilst the second is the " main" warning text. It looks a little like this:

! This is the warning text
And this is the main body text.

Oh and don't forget about the image. I belongs in /images

Download



RGraph: HTML5 canvas graph library

Example graph made using RGraph

If you're interested in web development, then you may also be interested in RGraph: HTML5 canvas graph library. It uses HTML5 features to produce a wide variety of graph types. Because it moves the creation of graphs from the server to the client, it can significantly reduce the load on your server and your bandwidth usage.