|
Re: How to handle click on image with areas [message #768285 is a reply to message #767264] |
Mon, 19 December 2011 21:00 |
|
You could always set the bookmark property for the image report item and
then use a script tag to register a javascript event for it. Take a
look at the attached example.
Jason
On 12/17/2011 8:41 AM, JKowalski wrote:
> Hi,
>
> i have an image with some areas (i.e. administrative borders) and i want
> to develop BIRT component that allows bind areas with hyperlinks (or
> drill-throw links). For example - an image with map of Europe, we
> clicking on Poland and exploring some report for this country.
>
> I have coordinates for that areas on image, but i have a problem - i
> can't find method that allows to get coordinates of mouse click.
>
> Could you say me please, is there ability to add some handler for mouse
> click event? Or can i add mouse click coordinates to component hyperlink
> parameters? Is there some documentation about that? :)
>
> I thinking about writing custom renderer that will replace image with
> image+javascript output, but i hope to find simplest method :)
>
> Sorry for my english.
> WBR,
> J. Kowalski.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02707 seconds