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

  • SEARCH
  • Home
  • 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 8466985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:30:39+00:00 2026-06-10T15:30:39+00:00

Does anybody know how the eyeball in this website is designed? Is this javascript

  • 0

Does anybody know how the eyeball in this website is designed? Is this javascript (jQuery perhaps), or simply HTML5 and CSS? I just don’t really understand how you get a little image in that shape, get it’s onhover method, set a new picture, and then make it clickable. Is this a button?

http://animalvfx.com/work/

  • 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-10T15:30:41+00:00Added an answer on June 10, 2026 at 3:30 pm

    They use one image as the background (found here: http://animalvfx.com/images/bg-open-close.png).

    They are only using CSS, they have a hover state on the class that sets the background position to a negative offset.

    Basically the styles are:

    .slide-holder .opener {
       width: 30px;
       height: 38px;
       overflow: hidden;
       position: absolute;
       bottom: -38px;
       background: url(../images/bg-open-close.png) no-repeat;
    }
    
    .opener:hover {
       background-position: 0 -76px;
    }
    

    Effectively you are only seeing one part of the background image at a time. Because the image states are similar, it appears to be looking up.

    The click event of the eye is using jQuery slidedown

    If you want to find out how things work yourself, you can use the developer console in most popular web browsers. Then use the HTML inspector tool to inspect the element you are interested in.
    Developers consoles are usually activated by pressing F12. This works in any decent modern web browser (and Firefox with Firebug)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know whether this can be achieved in jQuery. Target/addClass to the last
Does anybody know why this function, when passed an invalid date (e.g. timestamp) to
Does anybody know how to programmatically disable the keyboard individual letter pop-up? (This blue
does anybody know how to insert code into lyx? just like what is available
Does anybody know of a javascript library for auto generating a form based upon
Does anybody know of a way to make jQuery Mobile load only on pages
Does anybody know how to fix this error: System.Data.Edm.EdmEntityType: : EntityType 'BlogTags' has no
Does anybody know what this error message means, when I go to Report->Check Dependencies:
Does anybody know when $(#submit).on(click, function(){ came out. Meaning what version of Jquery started
Does anybody know how to determine whether a certain git commit, for example this

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.