?
Solved

cross browser "window.innerHeight" and down side positioning

Posted on 2009-04-08
1
Medium Priority
?
395 Views
Last Modified: 2013-11-19
I want to use this Javascript DHTML Tooltips cross browser library at http://www.walterzorn.com/tooltip/extensions.htm to display a balloon tooltip, and I want to position this tooltip attached to the low side of the window's clientarea.

This library provides the CENTERWINDOW parameter to position the tooltip in the horizontal&vertical center of the window's clientarea and in addition it provides the parameter OFFSETY to deviate from the center the specified number of pixels.

For example this line display the toolbar 200 pixels below the center:

onmouseover="Tip('Some text', CENTERWINDOW, true, OFFSETY, -200)"


The problem is: what *cross browser* function can I put in place of that "-200" to position it attached to the low side of the window's clientarea?


I tried to use the "window.innerHeight" command but this command is only supported in Firefox :(

How can I do?
0
Comment
Question by:lucavilla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
dan_neal earned 2000 total points
ID: 24103660
I use the document.documentElement.clientHeight property for my forms. Standard HTML DOM property that is cross browser supported.
0

Featured Post

TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question