Finding Div Window Height For SVG Database JS Question

"jamesd" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
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.

Using a simple script like;

<script type="text/javascript">
function jumpScrolldown() {
window.scrollBy(0, window.innerHeight); 
}
</script>

Works well on a master page, but due to screen resolutions is not precise, and using SVG files requires pinpoint accuracy.

The master page can be fluid to accommodate different resolutions, but the Divs on the page will always be percentage based, as will be the SVG files.

Is it possible to have a SVG file in a navigation menu Div trigger a script to find another Div's window height and scroll the Div like the script above?

This would allow complete accuracy for a touch screen up and down button that would allow the user to navigate the database of selections. All selections would scroll by 100% of the Div window and the enclosed SVG file.

I have Googled all that I could find regarding doing this. Most of the information is out of date and based on scrolling by pixels, not percentage. If anyone can help in this matter, or direct me to an example, or to the proper javascript forums to post to, I would be greatly appreciative.

So... if you can offer any help or hints, please respond.

Sincerely;

James
[email protected] 



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.