Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Screen edge detection with content updates that change tooltip size
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mikemax  
View profile  
 More options Jun 19 2008, 5:21 am
From: mikemax <mike.max.mil...@gmail.com>
Date: Thu, 19 Jun 2008 02:21:28 -0700 (PDT)
Local: Thurs, Jun 19 2008 5:21 am
Subject: Screen edge detection with content updates that change tooltip size
Hello,

I am wondering if there is a way to make a tooltip recalculate its
position after its content size has changed.
Here is why:

I am using domTT (version 0.7.3)  to create complex tooltips whose
content is fetched via an asynchronous request from the server (AJAX).
I proceed as follows:
1) activate the tooltip ( domTT_activate ), with a certain delay and a
content that indicates "work in progress". The root node of the
content is a DIV with a unique id.
2) get the info I need from the server
3) update the tooltips content (via manipulation of the DOM of the DIV
I have passed in at step 1).

This works just fine, except for screen edge detection, because the
size of the content is changing at step 3.

Because the content is of variable size, I would like to avoid setting
a fixed height and thought, it might be possible to tell the tip to
recompute its position.

Thanks in advance for any help,

Mike


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google