Call us

Catfish gets a makeover

General News 1 comment

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

Related Posts

One Response to “Catfish gets a makeover”

  1. » Catfish gets a makeover part 2 Web Design and Development Blog: a journey into elegant web design and best practices Says:

    [...] Going back to my original post on the catfish makeover, I was contacted about the cookie modification that I made to the script. [...]

Leave a Comment