Solved

cross browser "window.innerHeight" and down side positioning

Posted on 2009-04-08
1
389 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 500 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Syntax error creating JSON recordset 4 27
Two decimal 5 29
SQL to JSON 14 37
How do I split a variable to newline 2 16
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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