EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

Change the cursor when over image

  • 1.  Change the cursor when over image

    Posted Thu April 02, 2015 07:24 PM

    Hi

    i have in image defined in this way:

    img  image {  src = "css/aurum.jpg ",  onClick ::= erpF  };

    i would like , when i the mouse is over the image,  change the cursor to an image (hand) like if it would be over a button ..

    how can i do it ??  

    other question : is it possible display a button like an image ??

    Thanks in advance

    giocot


  • 2.  Re: Change the cursor when over image

    Posted Fri April 03, 2015 08:44 AM

    Hi giocot,

    Try this:

        Image Image{ src = "css/aurum.jpg",                                 onMouseOver ::= img_mouseOver,                                 onMouseOut ::= img_mouseOut};                private function img_mouseOver (e Event in)                Image.cursor = "pointer";        end        private function img_mouseOut (e Event in)                Image.cursor = "auto";        end

    -Daron

    canutri