Last year I came across the catfish from Sitepoint. The catfish is an excellent little script that “slides” a banner into view at the bottom of your browser window. I was using it on one of my sites to promote my newsletter. It’s a much better way (in my opinion) than having a popup open, because most modern browsers have popup blockers built in now anyway and I hate popups.
Now, Matt Oakes has tweaked the catfish and made it run using JQuery, and it’s also much easier to implement.
Take a look at his blog for the instructions.
Nice one Matt!
One thing I have added is the function so that when you click the “close” link, it sets a cookie that expires in 30 days, then just before the code that executes the catfish, check for the cookie and if it’s there, don’t run the script.
Otherwise it runs on every page you have the script on and would probably pi$$ your visitors off!
Update: Here’s how I added the cookie check
October 31st, 2006 at 9:36 am
[...] Going back to my original post on the catfish makeover, I was contacted about the cookie modification that I made to the script. [...]