Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member MrTeapot's Avatar
    Join Date
    Nov 2011
    Posts
    127
    Member #
    30029
    Liked
    15 times
    Hello!

    Is there anyone whos knows about a good plugin that makes is so when you hover a thumbnail the excerpt shows up on the thumbnail?

    It's a bit hard to describe what I'm looking for, so I made a picture....
    plugin.jpg
    Swedish Web Agency
    I hate that all you Americans are asleep when I'm awake...

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    That's a jQuery effect - see this:
    http://www.net-kit.com/10-jquery-caption-plugins/
    MrTeapot likes this.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Senior Member MrTeapot's Avatar
    Join Date
    Nov 2011
    Posts
    127
    Member #
    30029
    Liked
    15 times
    Thank you very much!
    Swedish Web Agency
    I hate that all you Americans are asleep when I'm awake...

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Don't really need jQuery for that. You just need CSS hovers, absolute positioning, and negative margins.
    AlphaMare likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by Ronald Roe, post: 227784
    Don't really need jQuery for that. You just need CSS hovers, absolute positioning, and negative margins.
    Yes, you're right. I just forget sometimes that the hover can be used for more than links!
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    Senior Member MrTeapot's Avatar
    Join Date
    Nov 2011
    Posts
    127
    Member #
    30029
    Liked
    15 times
    Quote Originally Posted by Ronald Roe, post: 227784
    Don't really need jQuery for that. You just need CSS hovers, absolute positioning, and negative margins.
    How does one do that? sounds terribly hard x)
    Swedish Web Agency
    I hate that all you Americans are asleep when I'm awake...

  8. #7
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Not too bad, actually. Basically, what you would do is wrap the image and the div containing the text in a div. Set that wrapper to relative (absolute and fixed work also) positioning, which allows you to use absolute positioning inside it. Set the wrapper height/width to that of the thumbnail image, and overflow to hidden. Then, set the background, with opacity, of the overlay to what you need, set the width to 100%, the positioning to absolute and put your content in it. Decision time: Do you want it to slide up, or just appear. If you want it to slide up, define the height. For the slide up, set a negative bottom offset equal to the height of the content div. For an appear effect, or a fade in, set the bottom offset to zero. Then, set hover effects and transitions.
    HTML would look like this:
    HTML Code:
    <div class="thumb-wrap">
    <img src="whatever.png" alt="" />
    <div class="img-content">
    <h4>I am image content</h4>
    <p>More image content</p>
    </div></div>
    And your CSS:
    Code:
    .thumb-wrap{
    height:125px;
    width:125px;
    position:relative /*fixed or absolute work here too*/
    }
    
    /* Slide up effect*/
    .img-content{
    background-color: rgba( 0, 0, 0, 0.5);
    height:60px;
    position:absolute;
    bottom:-60px;
    width:100%;
    z-index:1000;
    }
    .thumb-wrap:hover > .img-content{
    bottom:0;
    transition: bottom 0.25s; /* Don't forget to add in your browser extension versions*/
    }
    
    /* Appear - If you do the fade in effect I'm going to show next, be sure to add this as a fallback for IE */
    .img-content{
    background-color: rgba( 0, 0, 0, 0.5);
    display:none;
    height:60px;
    position:absolute;
    bottom:0;
    width:100%;
    z-index:1000;
    }
    .thumb-wrap:hover > .img-content{
    display:block;
    }
    
    /* Fade In - Use Appear as IE fallback */
    .img-content{
    
    background-color: rgba( 0, 0, 0, 0.5);
    height:60px;
    opacity:0.0;
    position:absolute;
    bottom:0;
    width:100%;
    z-index:1000;
    
    }
    .thumb-wrap:hover > .img-content{
    opacity:1.0;
    transition: opacity 0.25s; /*Dont forget to add in your browser extension versions*/
    }
    Now, what I did for those hover effects is use the > child selector, so when you hover the wrap div, it will apply the change to the content div.
    MrTeapot likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  9. #8
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    WOW! Way easier than javascript - will that work in all browsers?
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  10. #9
    Senior Member MrTeapot's Avatar
    Join Date
    Nov 2011
    Posts
    127
    Member #
    30029
    Liked
    15 times
    Oh yikes, what a great way of doing that. Gonna try it soon
    Swedish Web Agency
    I hate that all you Americans are asleep when I'm awake...

  11. #10
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    It will all work in IE9. You'll need a fallback for IE8 and below for the rgba (just use the opacity filter with a black background color), as well as the transitions.

    BTW, I made a change above. For the bg color, I had rgb, it's supposed to be rgba.
    MrTeapot likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

css wordpress show excerpt on hover
,
image hover show content wordpress plugin
,
mouse over image show excerpt
,
mouseover image show exerp
,
show the excerpt on mouse hover
,
textg appear on hover thumbnail wordpress
,
thumbnail hover effect wordpress plugin
,
wordpress caption hover effects thumbnail
,
wordpress post excertp on mouse over thumbnail
,

wordpress show description in thumbnail hover

Click on a term to search for related topics.
All times are GMT -6. The time now is 08:45 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com