Tips 'n Tricks

Image block rotation using Script.aculo.us

Here's a handle little Javascript function that'll let you rotate a set of DIVs as needed, e.g. to rotate a series of images for a slideshow. It uses Script.aculo.us to do a very simple looking yet quite appealing slide in/out. You'll need to load the prototype.js file and Script.aculo.us' effects.js file before running the code. One thing to note is that you can use any object to do this - DIVs, IMGs, etc, just assign the IDs accordingly, which is useful if you need to rotate entire code blocks and not just individual images. Enjoy!

Tags: 

Content filter plugin for Firefox

A common problem for parents is whether their children will accidentally discover unsavory content while online - an innocent search for "boobie joke" might get them more than they were expecting. There are lots of programs out there that purport to solve this, but the majority of them simply keep lists of inappropriate websites that you have no control over, which very often have political motives behind the content blocking.

Tags: 

Pages

Subscribe to Tips 'n Tricks