Meaningless Drivel is fun!*
The moose likes Struts and the fly likes how to write out hint text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to write out hint text" Watch "how to write out hint text" New topic
Author

how to write out hint text

Theo van Loon
Ranch Hand

Joined: Feb 04, 2004
Posts: 71
hello all,

i am having some thoughts about using hint text in my webpage. When there multiple artists that composed an item. Let's say their name is displayed as V/A i want to display a hinttext with all artist named in their when you hover over the artist name (V/A).

I write out the name of the artist like this:


The hintext is also an attribute contained by product. But how can i display it on the screen?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Originally posted by Theo van Loon:
hello all,

i am having some thoughts about using hint text in my webpage. When there multiple artists that composed an item. Let's say their name is displayed as V/A i want to display a hinttext with all artist named in their when you hover over the artist name (V/A).

I write out the name of the artist like this:


The hintext is also an attribute contained by product. But how can i display it on the screen?


You keep referring to this "hinttext". What are you talking about?


A good workman is known by his tools.
Nathan Hook
Ranch Hand

Joined: Jan 10, 2005
Posts: 81
I believe he is talking about either fly-over or pop-up text. Like when you place your mouse over an image. Or he could be talking about having small text under some regular text. Or...he could be talking about something completely different.



Nate
Kevin Judd
Greenhorn

Joined: Dec 02, 2004
Posts: 9
You could build a drop down select box with all of the names. Not as elegant as a fly-over box.

I've never seen java script dynamically load a list; you can use the onHover node in js, but I believe this is only for preexisting options.

Good Luck.


Kevin Judd, SCJP
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
try something like this
Theo van Loon
Ranch Hand

Joined: Feb 04, 2004
Posts: 71
Ok sorry guys,

what i meant was a display popup text like when you hover over an image when you hover over the artist text area.

Can i perhaps place an empty image and add the text there.
How can i add a popup text to an image?

I'll keep you posted.
[ February 12, 2005: Message edited by: Theo van Loon ]
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
you could...try my suggestion? (that's what you're looking for, really)
 
Don't get me started about those stupid light bulbs.
 
subject: how to write out hint text