var fDesc=new Array(); fDesc[0] = "Nibble flash messaging is a PHP class that allows messages to be created that are then displayed to the user using a JQuery script by Tim Benniks and a little extra JQuery added. Nibble flash messaging is a very simple and easy to use class, there are 2 types of messages, regular messages which are displayed on the same page they are created, or flash messages which are displayed on the next page load. The flash messages are useful for sites such as blogs where, for example, the "create post" PHP script adds a new post to the database and then redirects to a new page. Using the flash message, the create post script can add a message that will be displayed on the page that the user is redirected to. The Nibble framework makes use of this PHP class."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }