PDA

View Full Version : how to mouseover show details


joycechong
09-05-2005, 06:36 PM
Anyone can please help, please teach me how to mouseover and show the details of the picture. PLease help....

Piet
09-05-2005, 07:56 PM
Have a look at this topic (http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=612) and use the onmouseover event instead of the onclick event that's used inside that topic.

You can remove the details again by setting the pointer to null afterwards (eg. when the view receives an onmouseout event).

joycechong
09-05-2005, 08:35 PM
thank for your help, but this is not what I mean. I don't mean drop down. What I mean is like when we mouse over a picture, then it'll show the name of the picture. For example in html we would use "Alt". Can anyone please help?

joycechong
09-05-2005, 08:39 PM
what I want to do is something like this, anyone have any suggestions?

Piet
09-05-2005, 09:42 PM
You mean tooltips?

Afaik there's a tooltip manager somewhere in the Laszlo distribution, but I can't remember where or in what location I've seen it.

You could also try to do it this way (http://www.openlaszlo.org/pipermail/laszlo-user/2005-April/000689.html).

joycechong
09-06-2005, 02:47 AM
this is an interesting solution. Thank you so much...

Piet
09-06-2005, 10:03 PM
You're welcome. By the way, I just found the location of the tooltip manager again. It's in $path_to_OpenLaszlo/3.x.x/Server/lps-3.x.x/lps/components/incubator

(on Windows, at least)

mmeyer
10-26-2005, 08:54 AM
The method tooltip.destroy seems to be missing.

Has anybody ran into this?