ygmarchi
07-15-2003, 04:32 PM
I'm trying to write a tabbed pane in dhtml.
I'm facing this problem:
Either
1) I use absolute positining and z-index for the tabs, but
in this case the tabs are taken out of normal flow and so
the parent cannot resize automatically to the size of its content (it needs a fixed sise)
Or
2) I use the display attribute of the tabs, but in this
case when the user changes the active tab the whole
tabbed pane gets resized, which is awful.
I cannot rely on knowing the size of children nodes
for dinamically compute the size to be assigned to
the tabbed pane.
Anybody knows a solution?
Thank you in advance,
carlo.
I'm facing this problem:
Either
1) I use absolute positining and z-index for the tabs, but
in this case the tabs are taken out of normal flow and so
the parent cannot resize automatically to the size of its content (it needs a fixed sise)
Or
2) I use the display attribute of the tabs, but in this
case when the user changes the active tab the whole
tabbed pane gets resized, which is awful.
I cannot rely on knowing the size of children nodes
for dinamically compute the size to be assigned to
the tabbed pane.
Anybody knows a solution?
Thank you in advance,
carlo.