Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #23973
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2014-04-27 05:57 -0700 |
| References | <epRxRCVua9WTFwX1@invalid.uk.co.demon.merlyn.invalid> <XnsA31C68A072F6Aeejj99@194.109.133.133> <5eb5182d-2f58-4f80-8912-3e13c410c58c@googlegroups.com> |
| Message-ID | <b341dd9f-658a-4a3a-a64b-1b9d26050f7c@googlegroups.com> (permalink) |
| Subject | Re: Hybrid of absolute and float for positioning a DIV? |
| From | Dr J R Stockton <J.R.Stockton@physics.org> |
On Sunday, April 27, 2014 11:43:39 AM UTC+1, Dr J R Stockton wrote: > But I can get at least near the desired effect by making the DIV a standard > float-right and, when the button that fills the DIV is clicked, using > insertBefore to move the DIV to the region of the button. Perhaps one of the > scroll methods can then move the top of the DIV to the top of the window. Yes, Mobile.scrollIntoView() does that. I would additionally like to do Mobile.scrollIntoView() when the main text is scrolled by the reader. MDN says "The scroll event is fired when the document view or an element has been scrolled.", but I cannot recall how to handle such an event. ???? -- (c) John Stockton, near London, UK. Using Google, no spell-check. Mail: J.R.""""""""@physics.org or (better) via Home Page at Web: <http://www.merlyn.demon.co.uk/> (may move soon) FAQish topics, acronyms, links, etc.; Date, Lagrange, JavaScript, ..|
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Hybrid of absolute and float for positioning a DIV? Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-04-26 16:54 +0100
Re: Hybrid of absolute and float for positioning a DIV? JJ <duh@nah.meh> - 2014-04-27 06:17 +0700
Re: Hybrid of absolute and float for positioning a DIV? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-04-26 23:01 -0700
Re: Hybrid of absolute and float for positioning a DIV? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-04-27 10:17 +0200
Re: Hybrid of absolute and float for positioning a DIV? Dr J R Stockton <J.R.Stockton@physics.org> - 2014-04-27 03:43 -0700
Re: Hybrid of absolute and float for positioning a DIV? Dr J R Stockton <J.R.Stockton@physics.org> - 2014-04-27 05:57 -0700
Re: Hybrid of absolute and float for positioning a DIV? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-04-27 15:17 +0200
csiph-web