how to set the size of frameset dynamically
Posted: Sat Apr 17, 2004 6:28 am
Hello
I would like to display a frameset which divides the screen by columns. The page on the left is 'left.php' and the page on the right is 'right.php'.
The width of the left frame should be based on the width of 'left.php' (I don't want it to have a horizontal scrollbar and I cannot use a fixed width in the frameset because the page width may change based on its content).
Is there a way to set the cols attribute of frameset dynamically based on the width of the page (in pixels)?
If anyone know of a better solution for problem, I would appreciate it.
thanks in advance
I would like to display a frameset which divides the screen by columns. The page on the left is 'left.php' and the page on the right is 'right.php'.
The width of the left frame should be based on the width of 'left.php' (I don't want it to have a horizontal scrollbar and I cannot use a fixed width in the frameset because the page width may change based on its content).
Is there a way to set the cols attribute of frameset dynamically based on the width of the page (in pixels)?
If anyone know of a better solution for problem, I would appreciate it.
thanks in advance