Solved

cross browser "window.innerHeight" and down side positioning

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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

690 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