Call Us : 0845 519 0437

Email Us


12
Oct

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:

  1. Catfish gets a makeover part 2
  2. How to create unobtrusive Javascript popups
  3. Google Copies Yahoo!
  4. Google Analytics gets makeover
  5. Firefox version 2 is released

Category : Blog / General News