On Sep 28, 11:47 pm, Adler <[EMAIL PROTECTED]> wrote:
> I'm creating a personal website for the very first time and I'm really
> enjoying it. However, I was trying to create a tooltip for some parts,
> that appears right at where the cursor is clicked on particular links
> and stays on as long as another one is clicked or a close botton some
> where on the top of the tooltip is pressed. I could manage to find
> some sources that gives me almost the same thing, But I can't make it
> not disappear after a certain time, and there is this other one that
> does exactly what I need but doesn't show the arrowhead and appears
> onthe side of the page!!!
>
> (I'm not that familiar with the JS functions, so forgive me if I'm not
> making sense)
>
> Basically I need something exactly as "google calendar tooltip". Any
> sort of help would be appreciated.

Hi,
I'm not sure if I got exactly what you mean but there's a widget in
GWT called PopupPanel.

> But I can't make it not disappear after a certain time
In PopupPanel you can set in a constructor the "auto-hide" property
which tells the panel whether to close automatically or not.

For more info about PopupPanel see:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/PopupPanel.html

Or, you can create a custom class based on DialogBox. PopupPanel does
not contain the "close button" and with DialogBox you could add it in
your own.
The DialogBox docs can be found there:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/DialogBox.html

Be careful, the PopupPanel and the DialogBox are both not accessible
with keyboard. It means that such elements may block those user who
don't/can't use mice!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to