Mouse down action Explore the community › Forums › Lectora › Lectora Questions & Answers › Mouse down action Tagged: action, mouse Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 12, 2019 at 4:55 pm #431486 Score: 0 Neil ScottMember @nscott8678 I’m looking for a method to show an image only while the user holds their left mouse button down while clicking on a hotspot shape. Once they release the left mouse button, the image is hidden. This is to simulate a button press that turns on a lamp while they hold the button in. Once the button is released, the lamp turns off. Additionally, in a similar way, I want an image to show (and stay visible), but the use must hold the left mouse button down for 10 seconds before it appears. Thanks in advance. September 16, 2019 at 9:21 am #431510 Score: 0 CarlFink Member Karma: 29 pts@CarlFink Something like this? https://stackoverflow.com/questions/7353281/jquery-image-swap-for-mouse-over-and-mouse-down Note: answer given is actually CSS, not JavasScript. September 17, 2019 at 10:59 am #431530 Score: 0 Darrel SomozaMember Karma: 202 pts@Klaatu I’m sure this can be done way more elegantly but see if this is what you are looking for as your first request. Attachments:isLeft.zip September 17, 2019 at 1:28 pm #431534 Score: 0 Joe WielochModerator Karma: 55 pts@wheels Here is “another” example with a Hotspot question that will work in Lectora or Lectora Online. Attachments:123.pkg Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.