Re: Returning proper height values!
"NeoPhreak" <firstname.lastname@example.org> wrote in message
> document.all.lastcell.size == newheight;
equivalency operator vs assignment operator issue?
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
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
var height = document.all.layout.size;
var newheight = height - 465;
document.all.lastcell.size == newheight;
Any help would be greatly appreciated
|All times are GMT. The time now is 02:52 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.