Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Dec 2005
    Location
    Soul city
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    clientHeight not supported by FF

    Hi everyone,
    Plz see the code below.

    Code:
    <script type="text/javascript">
    		var tdLeftheight, tdRightHeight;
    		tdLeftheight=document.getElementById("tdLeftContent").clientHeight;
    		tdRightHeight=document.getElementById("tdSidePanelLinksUP").height;
    		//alert(tdLeftheight +' '+tdRightHeight);
    		document.getElementById("tdSidePanelLinksDown").style.height= tdLeftheight-tdRightHeight;
        </script>
    The clientHeight attribute is not supported by FF. Any alternative to this?

    Help is highly appreciated.

    Best regards,
    Soulfly
    Soulfly

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Try offsetHeight
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.

  • #3
    New Coder
    Join Date
    Dec 2005
    Location
    Soul city
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hello Mr J,
    thanks much for the help. I really appreciate

    Regards,
    Soulfly
    Soulfly

  • #4
    Senior Coder
    Join Date
    Nov 2006
    Posts
    1,000
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is a compatibility table you might find useful in the future.

    http://www.quirksmode.org/viewport/compatibility.html

    david_kw


  •  

    Posting Permissions

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