Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8561461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:30:30+00:00 2026-06-11T16:30:30+00:00

i have a blog ( BLOG ) . In my posts, on hover I

  • 0

i have a blog (BLOG) . In my posts, on hover I have the links (Permalink, Like, etc) changing their positions and opacity, using -webkit-transitions. But I want to use jquery instead of -webkit-transitions to work in ie.. I developed a little code in jquery, could you give me a little help here to finish it please ?

Here is the code I started : JsFiddle

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:30:31+00:00Added an answer on June 11, 2026 at 4:30 pm

    Hope this will help:

    jsFiddle demo

    jQuery (v: 1.8.0)

    $('#entry ').on('mouseenter mouseleave', function( event ){
        var $image = $(this).find('img.photo');
        var eTyp = event.type=='mouseenter'?         // if event IS 'mouseenter'
            $image.stop().fadeTo(400, 0.5) :         // do that,
            $image.stop().fadeTo(300, 1)   ;         // else, do this.
        $('#switch > div').stop(1).each(function(i){ //.stop(1) is to prevent animation buildups on fast mouse movements
            eTyp = event.type=='mouseenter' ?        // same events trick here. 
            $(this).delay(60*i).animate({top:   0, opacity: 1}, 400):
            $(this).delay(70*i).animate({top: 150, opacity: 0}, 300);          
        });  
    });
    

    HTML:

    <div id="entry">
        <div id="switch">
            <div id="b1"></div>
            <div id="b2"></div>
            <div id="b3"></div>
            <div id="b4"></div>
        </div>
    </div>
    

    CSS:

    #entry{position:absolute;width:490px;height:auto;background-color:#000}
    
    #switch{
        position:absolute; /* to remove large black bottom space */
        top:50%;           /* if buttons holder is at 50% than we just need to push the buttons down! */
        margin:0 auto;
        width: 116px;
        left:187px; /* just a bit of math to center it :) */
        height: 25px;
        background-repeat: no-repeat;
    }
    /* buttons */
    #switch > div{
        cursor:pointer;
        opacity:0;
        position:relative;
        float:left;
        top:150px;
        width: 25px;
        height: 25px;
        margin:0px 2px;
        background-image: url(http://static.tumblr.com/dbek3sy/Oufm2q70l/lightglass_icons.png);
    }
    #switch > div:hover{
        opacity:0.3;      
    }
    #b1{background-position: 0    0;}
    #b2{background-position: 75px 0;}
    .b3{background-position: 50px 0;}
    .b4{background-position: 25px 0;}
    
    #entry img{
        width:100.01%;         /* 100.01 to fix M.Firefox images width glitch */
        vertical-align:middle; /* to remove bottom extra space */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a blog in Rails I want to have paths like http://mydomain.com/posts/28383/comments#21 This is
I have a blog with posts in multiple categories. I'd like to give each
I have a sidebar with latest news and random blog posts etc <nav id=sidebar>
I have a facebook like button on each of my wordpress blog posts, this
I have some home made blog, and when viewing blog posts I'd like to
Using Tumblr's JSON API, I have embedded blog posts into another website. However, the
I have toggled my blog posts using jQuery. At the moment I can click
I have a table containing blog posts by many different authors. What I'd like
So! Basically I have a database with a load of blog posts, these are
I have a landing page on rails with blog style posts. Since it's the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.