Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsImage Map - Swap Image with Mouse Overs
https://www.eclipse.org/forums/index.php/mv/msg/147437/464156/#msg_464156
However, I have not decided whether to use html, so I am just mining for
ideas how to tackle this problem.
I want to have an image and when you move the mouse over the images swap.
I think in html these are called image maps.
So I see that I could a) use an intro part with xml, css and javascript b)
do some sort of rendering c) use a browser widget and somehow fire events
in my application depending on which links are clicked. There may be some
other options with transparent windows, or even something I haven't
thought of.
Does anyone have any experience doing this, and if so could you point me
in the right direction or to an example?
thanks
ronald]]>ronald Mising name2005-11-17T08:29:13-00:00Re: Image Map - Swap Image with Mouse Overs
https://www.eclipse.org/forums/index.php/mv/msg/147437/464306/#msg_464306
control to be notified when the mouse enters/leaves your controls bounds
and change the image when an event occurs.
An "image map" could be implemented with a SelectionListener that uses
the SelectionEvents mouse coordinates to decide what action to take.
Text Links are supported with the Class Link.
Yves
ronald wrote:
> I would like to create something that is commonly seen in html.
>
> However, I have not decided whether to use html, so I am just mining for
> ideas how to tackle this problem.
>
> I want to have an image and when you move the mouse over the images
> swap. I think in html these are called image maps.
>
> So I see that I could a) use an intro part with xml, css and javascript
> b) do some sort of rendering c) use a browser widget and somehow fire
> events in my application depending on which links are clicked. There may
> be some other options with transparent windows, or even something I
> haven't thought of.
>
> Does anyone have any experience doing this, and if so could you point me
> in the right direction or to an example?
>
> thanks
>
> ronald
>]]>Yves Harms2005-11-21T09:55:29-00:00