ThemeForest

Ask JW: A Plugin to Make Important Announcements

407 posts
  • Has been a member for 3-4 years
  • Envato Staff
  • Forum Moderator
  • 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/

3 years ago
envato is a moderator
692 posts
  • Has been a member for 2-3 years
  • Beta Tester
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 50 and 99 items
  • India
  • Referred between 10 and 49 users
HaziqMir says

Nice one, Jeff!

3 years ago
116 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
finsta2 says

thanks a ton, very usefull :D

3 years ago
7 posts
  • Has been a member for 2-3 years
  • Exclusive Author
nathancode says

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

3 years ago
2524 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Forum Moderator
  • Author had a Free File of the Month
  • Blog Editor
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
JeffreyWay says

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

3 years ago
JeffreyWay is a moderator
473 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 1 and 9 users
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.

3 years ago
2524 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Forum Moderator
  • Author had a Free File of the Month
  • Blog Editor
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
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…

3 years ago
JeffreyWay is a moderator
by
by
by
by
by