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 791699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:52:45+00:00 2026-05-14T21:52:45+00:00

The Goal: On mouseover (or :hover), enlarge the preview image by about 400% and

  • 0

The Goal:

  • On mouseover (or :hover), enlarge the preview image by about 400% and display it in the center of the page
  • Remove the preview when the mouse leaves

The Problem:

  • Solutions like FancyBox are too bloated
    • in FancyBox’s case it ignores width and height for image elements, which makes it useless
  • Most of these “lightboxes” steal focus when they’re called

Really, I’m just looking for a simple, efficient solution.

  • 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-05-14T21:52:46+00:00Added an answer on May 14, 2026 at 9:52 pm

    try something like this. the trick is position you can put the div wherever you want.
    read something here. and you can read about hover here

    here is an html example. (copy this to a text file and open it withyour browser)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
      <head>
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
          <title>Test</title>
          <script text="text/javascript" 
              src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js">
          </script>
      </head>
      <body>
        <ul>
          <li class="">Lynx</li>
          <li>Jaguar</li>
        </ul>
        <div id="picture" style="position:absolute; top:0px; right:0px;">
        </div>
      <script type="text/javascript">
        var animal = {
            "Lynx": 
              "http://wnbaoutsiders.files.wordpress.com/2009/06/lynx21.jpg",
            "Jaguar" : 
              "http://www.tropical-rainforest-animals.com/image-files/jaguar.jpg"
          }
        var hovered = function(e) {
          //you can get what to show from the elemnt, instead of the content
          // you could use an id.
          var name = $(e.target).html()
          $('#picture').append("<img src='" + animal[name] +"'/>")
        }
        var unhovered = function() {
          $('#picture').empty();
        }
        //here you bind mouseenter and mouseleave
        $('li').hover(hovered, unhovered);
      </script>
      </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My goal is to remove all hover feedback from the UI. The motivation is
My goal is to grab content x and scroll page horizontally while mouse is
Goal : I wants when I drag image it become fade so we can
Goal: Gain datatype date with year and month Problem: Need to help to convert
Ok, so I have a table containing information about jobs. The goal is that
My goal: Mousehover a link, have a certain element on the page change the
My goal is to: On mouse over, fade out 'foo' and fade in 'bar'
I'm having a problem with connection AJAX with PHP. The main goal is to
Goal: The row should have a different background color if the mouse's icon is
Goal: A variable should contain amount of rows from a specific sheet. Problem: What

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.