A cute little snippet to show a simple green bar upon a successful edit.
<?php
if(isset($_GET[‘edit’])){
?>
<div id=’notifyy’> Edited Successfully </div>
<script type=”text/javascript”>
$( ‘#notifyy’ ).show(function(){
$(this).fadeOut(5000);
});
</script>
<?php
}
?>
The CSS:
#notifyy{width:100%;background:#2f5001;padding:4px 15px;color:#fff;}
Always, Gainesville Web Design