Hey guys, I was curious if anyone knows how to create a top bar like http://www.albumbase.com/ when a visitors visits the site. Thanks!
<p id="JoinForum" onmouseover="this.style.background='#4979cf url(http://www.albumbase.com/images/warning.gif) no-repeat fixed .3em .3em'; this.style.color='#ffffff'; this.style.cursor='pointer';" onmouseout="this.style.background='#ffffdf url(http://www.albumbase.com/images/warning.gif) no-repeat fixed .3em .3em'; this.style.color='#000000'; this.style.cursor='default';" onclick="location='http://www.albumbase.com/register.php'"> It appears you have not yet registered with Albumbase. Click here to register! </p> HTML: p#JoinForum { margin: 0; padding: 4px 5px 2px 5px; height: 20px; background: #ffffdf url(http://www.albumbase.com/images/warning.gif) no-repeat fixed .3em .3em; font-size: 12px; border-bottom: 2px solid #000000; color: #000000; text-indent: 18px; } Code (markup): That's pretty much it from client side perspective, as for serverside, you'd just need to check if the user is logged in/has a cookie saved with his user data.