you can use the title attribute of the span tag like this way:
<span class="reportTooltip" title="yout tooltip text">your text or your
elements</span>

and with using CSS you can set up the tooltip behaviour:

.reportTooltip {
  COLOR: gray;
  CURSOR: help;
  TEXT-DECORATION: none;
}

if you use "cursor: help" the cursor in the browser will change to a cursor
plus question mark when the user moves over any element that has a tooltip,
showing the user that a tooltip exists.

kr,
guenther

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 01. März 2005 13:14
An: Struts Users Mailing List
Betreff: Re: Tooltips in Struts

No what I have is an application which is no means intuitive and I need to
make some explanations in order to make the workflow more understandable. I
need the explenations to be part of elements like lists and buttons.

Regards,

Peter

> Yes, sort of.  If you simply want little yellow popups when your mouse 
> hovers over an image, use the "title" attribute for that image.  You 
> can do the same for just about anything else, but it may require being 
> creative with some div tags and such.
> 
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <user@struts.apache.org>
> Sent: Tuesday, March 01, 2005 3:09 AM
> Subject: Tooltips in Struts
> 
> 
> > Hello,
> >
> > is there a simple way to include tooltips in a web-application with 
> > Struts?
> >
> > Regards,
> >
> > Peter
> >
> > --
> > Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet 
> > bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
DSL Komplett von GMX +++ Superg?nstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to