Results 1 to 3 of 3

Thread: Bubbles theme prob

  1. #1
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Bubbles theme prob

    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??

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:
    Code:
    function iecompattest(){
    return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
    }
    Here is an online demo of a similar script with those changes and other enhancements.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks its working great now!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •