Click here to Skip to main content
15,910,471 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Eddy Vluggen23-Mar-09 3:08
professionalEddy Vluggen23-Mar-09 3:08 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Bassam Abdul-Baki23-Mar-09 3:10
professionalBassam Abdul-Baki23-Mar-09 3:10 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Bassam Abdul-Baki23-Mar-09 18:14
professionalBassam Abdul-Baki23-Mar-09 18:14 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Zhat25-Mar-09 2:01
Zhat25-Mar-09 2:01 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Marc Firth24-Mar-09 23:24
Marc Firth24-Mar-09 23:24 
GeneralRe: NOT a Programming Question...Really, it's not..Trust me! Pin
Zhat25-Mar-09 2:02
Zhat25-Mar-09 2:02 
QuestionNeed Help regarding Infragistics Infragistics.WebUI.WebSchedule.WebCalendarView Control Pin
Member 430196522-Mar-09 22:10
Member 430196522-Mar-09 22:10 
QuestionMultiple Resizeable Divs - Javascript Pin
gokninski22-Mar-09 7:00
gokninski22-Mar-09 7:00 
Hello there,

I would like to ask for some help with a particular problem that has been bugging me lately!

I am trying to create 2 divs that will resize dependent on the other within an outer div similiar to the way you can resize your inbox and the preview pane in Yahoo Mail or Outlook.

So what I require is that when you resize the top div to be smaller the div on the bottom will get larger. And both of these divs are contained within an outer containter div.

I have already tried to acheive this a number of ways including coding it my self in Javascript and using a framework such as Mootools. I was able to get both of the divs resizing at the same time, but they were resizing to the same heights rather than getting smaller if the other div is getting larger.

Below is more information about my setup.

---My Setup---

So I have 4 divs on my page, an outer div (mainbody) that contains 3 divs (maincontenttop which sits on top of maincontentbottom and statusbardiv is inbetween these 2 divs).

---HTML---

<pre>
<body>
<div class="mainbody" id="mainbody">

<div class="maincontenttop" id="maincontenttop">
<p>Main Content Top</p>
</div>

<div class="statusbardiv" id="statusbardiv">

</div>

<div class="maincontentbottom" id="maincontentbottom">
<p>Main Content Bottom</p>
</div>
</div>
</body>
</pre>

What is the best way to acheive what I am after? Any help assistance with this would be greatly appreciated!

Thanks,

G.

Grzegorz
AnswerRe: Multiple Resizeable Divs - Javascript Pin
Kastellanos Nikos24-Mar-09 17:13
Kastellanos Nikos24-Mar-09 17:13 
GeneralRe: Multiple Resizeable Divs - Javascript Pin
gokninski25-Mar-09 16:42
gokninski25-Mar-09 16:42 
AnswerRe: Multiple Resizeable Divs - Javascript Pin
Marc Firth24-Mar-09 23:26
Marc Firth24-Mar-09 23:26 
GeneralRe: Multiple Resizeable Divs - Javascript Pin
gokninski25-Mar-09 16:44
gokninski25-Mar-09 16:44 
GeneralRe: Multiple Resizeable Divs - Javascript Pin
Marc Firth25-Mar-09 23:12
Marc Firth25-Mar-09 23:12 
GeneralRe: Multiple Resizeable Divs - Javascript Pin
gokninski26-Mar-09 1:31
gokninski26-Mar-09 1:31 
QuestionPlugin for Firefox with C# ? Pin
Mohammad Dayyan22-Mar-09 5:53
Mohammad Dayyan22-Mar-09 5:53 
AnswerRe: Plugin for Firefox with C# ? Pin
kaushal s23-Mar-09 1:24
kaushal s23-Mar-09 1:24 
GeneralRe: Plugin for Firefox with C# ? Pin
Mohammad Dayyan23-Mar-09 1:51
Mohammad Dayyan23-Mar-09 1:51 
Questionhow to access parameter in query string Pin
pnslcs21-Mar-09 14:36
pnslcs21-Mar-09 14:36 
AnswerRe: how to access parameter in query string Pin
Marc Firth24-Mar-09 23:30
Marc Firth24-Mar-09 23:30 
QuestionForm Validation Pin
lucianvibz21-Mar-09 3:17
lucianvibz21-Mar-09 3:17 
AnswerRe: Form Validation Pin
tech60321-Mar-09 18:32
tech60321-Mar-09 18:32 
AnswerRe: Form Validation Pin
Marc Firth26-Mar-09 5:09
Marc Firth26-Mar-09 5:09 
QuestionGet thumbnail without uploading image Pin
rickqu20-Mar-09 5:12
rickqu20-Mar-09 5:12 
AnswerRe: Get thumbnail without uploading image Pin
Marc Firth24-Mar-09 23:35
Marc Firth24-Mar-09 23:35 
GeneralRe: Get thumbnail without uploading image Pin
rickqu25-Mar-09 8:35
rickqu25-Mar-09 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.