Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25289
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2014-07-10 13:35 -0700 |
| References | (4 earlier) <wNmdnUw9Ar6cRyDOnZ2dnUVZ_sudnZ2d@westnet.com.au> <XnsA3665E3F5E33Feejj99@194.109.133.133> <lplgam$fdo$1@dont-email.me> <xNqdncwLDYSUGSPOnZ2dnUVZ_judnZ2d@westnet.com.au> <XnsA36693CBE765Beejj99@194.109.133.133> |
| Message-ID | <f5f186c8-45a5-440a-a206-7bf6280af7dc@googlegroups.com> (permalink) |
| Subject | Re: Element visible |
| From | Scott Sauyet <scott.sauyet@gmail.com> |
Evertjan. wrote: > Andrew Poulos wrote > >> I've found window.matchMedia and together with addListener (given I'll >> need to work around the lack of support for it in IE 9) I should be able >> to track the "visibility" of the things that need tracking. > > The visibility does not mean you can see the element. > You will first have to define visibility as something else, > perhaps having the CSS style visibility as not hidden, > and the css style display as not none, > and z-index not making the element below an other one, > and ... ad libitum. > > All this is not javascript related. With the OP's discussion of "tracking" the visibility, presumably the values of some of these properties can change dynamically. If that's the case, then I think this is very much the domain of client- side Javascript. > However if you programme consistent html cum css, > you will know if an element is visible, > there is no need to "track". Only if those properties remain static. -- Scott
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-09 10:09 +1000
Re: Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-09 13:32 +1000
Re: Element visible "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-09 09:54 +0200
Re: Element visible Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-09 11:18 +0200
Re: Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-09 23:17 +1000
Re: Element visible John Harris <niam@jghnorth.org.uk.invalid> - 2014-07-09 16:08 +0100
Re: Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-10 10:07 +1000
Re: Element visible "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-10 09:15 +0200
Re: Element visible "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-07-10 10:45 +0300
Re: Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-10 22:13 +1000
Re: Element visible "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-10 14:31 +0200
Re: Element visible Scott Sauyet <scott.sauyet@gmail.com> - 2014-07-10 13:35 -0700
Re: Element visible "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-11 00:23 +0200
Re: Element visible Scott Sauyet <scott.sauyet@gmail.com> - 2014-07-12 20:09 -0700
Re: Element visible "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-13 09:07 +0200
Re: Element visible John Harris <niam@jghnorth.org.uk.invalid> - 2014-07-10 10:46 +0100
Re: Element visible Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-10 12:10 +0200
Re: Element visible Andrew Poulos <ap_prog@hotmail.com> - 2014-07-14 13:00 +1000
Re: Element visible Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-15 15:08 +0200
csiph-web