Explore the community Forums Lectora Lectora Questions & Answers mouse over problem :-)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349170 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    @mmilo9281

    Hi all,

    i wanted to make a mouse over image effect. That means i have two pictures over each other.

    And i made it with the actions “on mouse over” show and “on mouse exit” hide but it doesnt work correct.

    when i go over with the mouse the pictures begin to shutter.

    Has anyone an idea 🙂 or is there a possibilty with java

    nice greetings

    #349175 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    216 pts
    @timk

    What type of images do you use? Do you only show /  hide one of the images? Try to hide / show the other one as well. Or use a button that includes an Over-state.

    Tim

    #349199 Score: 1
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    75 pts
    @mnotermans5114

    This can be caused by several things. To get actions working properly when using an image as button can be tricky. For sure the easiest way is using a transparant button with the actions showing / hiding the respective images on enter/exit. When you really insist on using the image as button ( i can think of scenarios where that would be preferred ) you can do that by using the change content action.

    1. Add both images to the title. Hide the over one.
    2. Add 2 actions to the image that needs to be the button
    3. Action1: Mouse Enter -> Change Contents
      Target: image1
      Resource:image2.png
    4. Action2:Mouse Exit -> Change Contents
      Target:image1
      Resource:image1.png

    This will work without stuttering.

    This post has received 1 vote up.
    #349402 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    @mmilo9281

    Hey guys, thx for your help 🙂 it works with the transparent button! made my day 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.