Returning proper height values!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NeoPhreak

    Returning proper height values!


    I have a very simple script.
    It is used to adjust the size of a table cell acording to the size of the a
    different table cell.
    The main cell has and id value of layout and the table to adjust is
    lastcell.
    The 465 is the difference between the other cells that i have constant and
    the cell that i want to adjust in terms of the layout cell.
    The problem.. when it returns the value of the layout cell and adjusts the
    size... the size doesn't come out right...
    I'm thinking they aren't of the same units and therefor I am getting
    incorrect results

    var height = document.all.la yout.size;
    document.write( );
    var newheight = height - 465;
    document.all.la stcell.size == newheight;

    Any help would be greatly appreciated
    Thanks

    NeoPhreak >.<


  • 620

    #2
    Re: Returning proper height values!



    "NeoPhreak" <tcauduro@eagle .auc.ca> wrote in message
    news:h22Eb.1279 2$CK3.957276@ne ws20.bellglobal .com...
    [color=blue]
    > document.all.la stcell.size == newheight;[/color]

    equivalency operator vs assignment operator issue?


    Comment

    Working...