I was using UserVoice and noted that flash messages are like StackOverflow.
Is there any common library to build something like this?
<div class="uservoice-component">
<div id="flashes" class="has-layout">
<script type="text/javascript">
//<![CDATA[
setTimeout("$$('.message').each(function(element){ new Effect.Appear(element); });", 0);
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
setTimeout("$$('.temporary-message').each(function(element){ new Effect.Fade(element); });", 7000);
//]]>
</script>
<noscript>
<p class="error">Please enable Javascript <small>(it's required)</small></p>
</noscript>
</div>
Thanks! Pablo