Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15407
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Find Div Window Height and Scrolling by Percentage |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <26a72576-b3f6-4083-886b-7d1b460b2ac8@googlegroups.com> |
| Message-ID | <XnsA0B35E884B935eejj99@194.109.133.133> (permalink) |
| Date | 2012-08-18 07:17 +0000 |
James Deering wrote on 18 aug 2012 in comp.lang.javascript: > I am developing a SVG database and need some help. For web design and > SVG I find that there are three javascripts that are needed. these are > a rollover effect, view navigation and most importantly, a window > scroll method that is based on ascertaining the window height of a Div > and then scrolling by that amount, not in pixels, but by window inner > height. [..] > Works well on a master page, but due to screen resolutions is not > precise, and using SVG files requires pinpoint accuracy. "pinpoint accuracy" can only be achieved by using pins and points, argh ... pixels. However forgoing css-percentages and calculating exact pixels from percentage in javascript could be an option? Perhaps you could even simulate scrolling by having a vertical series of divs, where most of them are display:none; and only 3 or 10 are display:block; at a time? -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Find Div Window Height and Scrolling by Percentage James Deering <jcdsvg@gmail.com> - 2012-08-17 16:15 -0700 Re: Find Div Window Height and Scrolling by Percentage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-08-18 07:17 +0000
csiph-web