PDA

View Full Version : Bubbles theme prob



kazwv10
11-06-2005, 01:55 PM
i have put the bubble effect into my website, but only it works jus at the top of the page for some reason, any idea's why??

jscheuer1
11-06-2005, 04:43 PM
It is an old, somewhat outdated script.

Try this (from a stock response):


What doctype are you using on the page? If most any, the script needs to be updated. Change all instances of:

document.body

in the script to:

iecompattest()

Then, add this just below the credit block:

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

Here is an online demo (http://home.comcast.net/~jscheuer1/side\bubble_leaves_bidirect.htm) of a similar script with those changes and other enhancements.

kazwv10
11-07-2005, 06:16 PM
Thanks its working great now!!! :D