xml compliantThis script has been tested on and shown to work with the following browsers:
  • Internet Explorer version 7 and above
  • Google Chrome version 4 and above
  • Mozilla Firefox version 2 and above
  • Apple Safari version 5 and above
  • Opera version 9 and above (including Opera mobile)
  • Android Browser version 3 and above
20-Jun-2013: Internet Explorer 10 support added.
29-May-2013: Make bubbles float on top or underneath other items.
06-Jun-2012: Minor performance improvements.
20-Dec-2011: Updated to be smoother.
26-Oct-2010: First release.
STEP 1: Copy and paste the code below so that it sits between the <head> and </head> tags at the top of your web-page:

CLICK HERE to select the above script ready to paste it into your clipboard
STEP 2: If you want to change the colours of the borders of the bubbles or the background, change the colours at the start of the script you just copied to the settings you require.
THAT'S IT When your page loads your bubble bath should begin, leaving you with a warm, effervescent jacuzzi-like feeling and reaching out for a glass of bubbly and some softglow candles! Or maybe this script could be use to animate a fish tank or glass of beer, or an undersea picture - the uses are pointless, I mean endless.

Copyright notice: All scripts are © copyright mf2fm.com. You can use them wherever and whenever you wish, however the copyright notice at the start of the script should remain intact and a link back to this page would be appreciated. The address for this page is: http://www.mf2fm.com/rv/dhtmlbubbles.php.

This page has been viewed 2175 times. It was last viewed on Fri 28 Jul, 2017 at 12:52