Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Get an image to pop up when I mouse over a word (text)?

    General Discussion
    2
    2
    426
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Morgan last edited by Morgan

      In the body of my text I want an image to p0p up when you hover your mouse over a certain word. Is it possible? How I can do this?

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi Morgan,

        you can do this with a bit of jQuery (Javascript).

        Have a look here:
        http://jsfiddle.net/e27Dt/

        Or even more simple, here:
        http://jsfiddle.net/e27Dt/1/

        You will need to give the word a class or an id and then trigger it with jQuery.

        The image you can place in the gridder and give it a display: none.

        And when you activate the hover function, it switches to display: block.

        Let me know if that works for you!

        Marius

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Before you post

        Use the Search Feature. Maybe there is already a solution to your issue.

        1. Update Lay Theme and all Lay Theme Addons
        2. Disable all Plugins
        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
        4. Now see if your problem solved itself
        5. Go here, see if your problem is listed here:
        Troubleshooting

        When you post:
        1. Post a link to where the problem is
        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

        Thanks!

        Online Users

        Recent Topics

        • C

          image carousel bugging out

        • N

          help needed with cleaning up and optimising lay theme portfolio website

        • R

          Html5 Video Player issue

        laytheme.com