407 posts
  • Has been part of the Envato Community for over 5 years
  • Located in Australia
envato says

Today’s Q&A comes courtesy of Frederico Gonzalez, from Twitter. He asked if there was an easy way to add announcement bars to the top of his site, much like the one on ActiveDen right now (assuming you’re not logged in). Luckily, as you’ll find, it’s quite simple to whip up a jQuery plugin that will make these announcements a cinch to add.

Click here to see full post: http://blog.themeforest.net/screencasts/ask-jw-a-plugin-to-make-important-announcements/

694 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
HaziqMir says

Nice one, Jeff!

116 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $1+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
finsta2 says

thanks a ton, very usefull :D

7 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
nathancode says

do you know if the wordpress for designers is going to be finished off

2529 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

It’s a matter of whether or not Drew finishes it.

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

I have a question, how can you make this so it works with your cookies and maybe re-appears every 3 days or so, so that it doesn’t annoy the visitors every time they close it and go to another page to find it at the top again.

2529 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

You’d have to determine if it was the visitor’s first time to your site, and then set a cookie with PHP or JS. ...Then, with each page load, you can check to see if that cookie exists, and if it doesn’t, show the bar.

I think I have a screencast somewhere that shows how to do this – maybe one of the “jQuery for Absolute Beginners” ones…

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by