Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Project List + Project Thumbnail on Link Hover

Project List + Project Thumbnail on Link Hover

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 626 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.
  • C Offline
    C Offline
    comedowntous
    wrote on last edited by
    #1

    Hello —

    I would like to display the projects as a list where the project thumbnails appear on mouseover. I know this is something that has been brought up in the forums in the past.

    http://laythemeforum.com:4567/topic/826/hovering-over-text-showing-thumbnail

    Any tips on where to start?
    Thanks!

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Hi @comedowntous

      you totally need advanced skills with jQuery to do this.

      It is possible but like Armin already said – not easy to achieve.

      Roughly:

      1. You need to get the class of the image.
      2. Then you position it with position fixed
      3. Then you hide it
      4. Then you need to write a jQuery which adds a class to it when you hover the title of the project

      You will need to work with each loops.

      If you are further with it – let me know and I might help in with the details.

      Best!

      Marius

      www.mariusjopen.world

      D 1 Reply Last reply
      0
      • C Offline
        C Offline
        comedowntous
        wrote on last edited by
        #3

        Yes - Please. I saw an example you provided a user somewhere in the forum. I'm definitely up to the task.
        Thanks!

        1 Reply Last reply
        0
        • mariusjopenM mariusjopen

          Hi @comedowntous

          you totally need advanced skills with jQuery to do this.

          It is possible but like Armin already said – not easy to achieve.

          Roughly:

          1. You need to get the class of the image.
          2. Then you position it with position fixed
          3. Then you hide it
          4. Then you need to write a jQuery which adds a class to it when you hover the title of the project

          You will need to work with each loops.

          If you are further with it – let me know and I might help in with the details.

          Best!

          Marius

          D Offline
          D Offline
          DAAVID
          wrote on last edited by
          #4

          @mariusjopen Hi Marius, I am trying to achieve almost the exact same thing explained and got stuck just before the finish line I guess..
          Made a project thumbnail in Gridder and classified .projectlinks. Hid the image with CSS and want them to appear behind the Text from Thumbnail. Made a class .active + mouseenter.
          Any idea what I am mixing up? Hiding the thumbnail images on the page works totally fine, but they just won't appear hovering them. (btw. getting no error in inspector console). Any help I is a lot appreciated!

          CUSTOM CSS

          .col[data-type="text"] img {
          position: absolute;
          z-index: -1;
          display:none;
          }
          .active {
          display: block!important;
          }

          CUSTOM <HEAD> CONTENT

          <script>

          jQuery(function($) {
          $('a.projectlink').on('mouseenter', function(event){
          $(this).addClass("active");
          });
          });

          </script>

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            hey everybody,

            im thinking about doing a plugin that does this one day
            im sorry for not helping you how to do this in a custom way, i got too many other things to do

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            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