Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19379

Re: How to re-size multiple DIVs dynamically with drag?

Message-ID <1671655.QBiOOBingg@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-04-20 21:43 +0200
Subject Re: How to re-size multiple DIVs dynamically with drag?
Newsgroups comp.lang.javascript
References <e0303ef0-c893-46c8-8c25-105a4857ed4a@googlegroups.com>

Show all headers | View raw


justaguy wrote:

> I have a page divided with 3 divs. Please see below. What I want to do is
> to be able to drag the middle navigation div to change the width of both
> the left and right divs, if dragged to left, decrease left div and
> increase right div and vice verse. Is it doable?

Yes.
 
> Many thanks.
> 
> […]if
>       (left) {leftDiv-} else {rightDiv-}
>       […]

But this is not even remotely syntactically valid code.  RTFM, STFW, UTFEC¹.

_____
¹ Use the F… Error Console
-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to re-size multiple DIVs dynamically with drag? justaguy <lichunshen84@gmail.com> - 2013-04-20 11:57 -0700
  Re: How to re-size multiple DIVs dynamically with drag? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-20 21:43 +0200
    Re: How to re-size multiple DIVs dynamically with drag? justaguy <lichunshen84@gmail.com> - 2013-04-20 14:29 -0700
      Re: How to re-size multiple DIVs dynamically with drag? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-20 23:57 +0200
      Re: How to re-size multiple DIVs dynamically with drag? Tim Streater <timstreater@greenbee.net> - 2013-04-20 22:59 +0100
        Re: How to re-size multiple DIVs dynamically with drag? justaguy <lichunshen84@gmail.com> - 2013-04-20 18:32 -0700

csiph-web