Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Get a text popup when I mouse over an image ?

Get a text popup when I mouse over an image ?

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 509 Views
  • 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.
  • H
    H
    Helena
    wrote on last edited by
    #1

    Hy again everybody !
    I'm sorry, maybe my question has already been posted here. But I didn't find exact same question.
    I want to do something on my website : Get a text popup when I mouse over an image ?

    I know, usually and all i find on this forum is this opposite of that. And I 'm trying to find the easely way to do it :

    • if there is this option in image over add on (but i didn't see it : yes an image can appears when you mouse a text, but how can I do if I want the opposite thing : text appears when I mouse an image ?
    • Can i use Pop MaKer on any other plugin for that ?
    • Or maybe there is another option like use a shortcode perhaps ?

    Thanks you for you future helpfull response and sorry for my english (a little bad).

    Ps : This theme is so cool by the way !! Thank you so much to create it !!

    1 Reply Last reply
    0
    • H
      H
      Helena
      wrote on last edited by
      #2

      I find something like this :

      http://laythemeforum.com/topic/5091/pop-up-window/6?_=1605879675811

      1 Reply Last reply
      0
      • RichardR
        RichardR
        Richard
        Global Moderator
        wrote on last edited by
        #3

        Dear @Helena

        That should work :) you would create a text element in the Gridder and give it a Custom Class called popup, and the code has 'button

        jQuery(document).on("click", ".button", function(event) {
             jQuery('.popup').toggleClass('active');
        });
        

        This button would need to be replaced with the class name of what you would be clicking :)

        best
        Richard

        1 Reply Last reply
        0
        • H
          H
          Helena
          wrote on last edited by
          #4

          Ok Great thanks alot i'm to test it today. Right now actually !! But i need a little lesson to code first so I will tell you maybe tomorrow if it's work cause actually when I write something in CSS nothings happened....

          1 Reply Last reply
          0
          • RichardR
            RichardR
            Richard
            Global Moderator
            wrote on last edited by
            #5

            @Helena

            Good Luck! there is lots of content on the internet surrounding CSS :) so you wont be alone.

            Best
            Richard

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            O
            OeilVif
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search