[2005] Panel :dimension of width/height
Hello....
In my webform I've two panel: the first one has a float dimension because its height depends on the number of objects which are in; the second one as a float dimension too but its height depends on the height of panel one.
For example: panel 2 is at the load of page 30px height; panel 1, after loading all the objects, is 300 px height....I need the panel 2 be 300+30 px height.
How I have to sum the dimension in height (...but I think will be the same about width....) of each panel???
Thank you so much.
Re: [2005] Panel :dimension of width/height
Place panel2 inside panel1 along with the other bit of content that makes it 30px.
Re: [2005] Panel :dimension of width/height
Thank you for reply but I only need to sum the height of two panel.
Have you another idea about this problem??
Re: [2005] Panel :dimension of width/height
Code:
document.getElementById('div1').offsetHeight + document.getElementById('div2').offsetHeight
Re: [2005] Panel :dimension of width/height
Sorry for my stupid question but I'm dummy about asp.net.
I've to put the code in a script and not in the .vb page,true??
Re: [2005] Panel :dimension of width/height
Re: [2005] Panel :dimension of width/height
Ok mendhak..thank you!!
During the afternoon I'll try to insert this code in my WebApplication!!
Re: [2005] Panel :dimension of width/height
Good luck. Come back if you're still stuck.