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


Groups > comp.lang.javascript > #17260

Re: Resize a <div>

Message-ID <2238637.83SpT6GLpJ@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2012-11-15 14:51 +0100
Subject Re: Resize a <div>
Newsgroups comp.lang.javascript
References <50a11e21$0$6849$e4fe514c@news2.news.xs4all.nl> <5918594.n9F9iRqjVt@PointedEars.de> <50a4ee80$0$6848$e4fe514c@news2.news.xs4all.nl>
Followup-To comp.lang.javascript

Followups directed to: comp.lang.javascript

Show all headers | View raw


Tom de Neef wrote:

> "Thomas 'PointedEars' Lahn" wrote:
>>>[..] In Chrome and IE underlying text gets 'blacked' sometimes [..]
>>
>> You need to prevent the default action for mouse events and selection
>> events on the content of the resizable element while you are resizing it.
> 
> There were no elements with mouse event triggers contained in the resizing
> <div>.

Wrong.

> I have finally found my error:
> the mousemove event handler did not return a value. Adding 'return false'
> cured the problems.

Which is equivalent to preventing the default action.


PointedEars
-- 
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
  -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>

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


Thread

Resize a <div> "Tom de Neef" <tdeneef@qolor.nl> - 2012-11-12 17:04 +0100
  Re: Resize a <div> Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-12 19:30 +0100
    Re: Resize a <div> "Tom de Neef" <tdeneef@qolor.nl> - 2012-11-13 22:38 +0100
    Re: Resize a <div> "Tom de Neef" <tdeneef@qolor.nl> - 2012-11-15 14:30 +0100
      Re: Resize a <div> Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-15 14:51 +0100

csiph-web