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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:21:02+00:00 2026-05-19T15:21:02+00:00

I want an image, that when pressed, shows another image apear from the left

  • 0

I want an image, that when pressed, shows another image apear from the left of the screen to a point in the background image. I then want to zoom in on that image and make a modal box apear. How can I do this?

The point in the background need to stay the same. When I resize the browser it needs to appear at the same point.

  • 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-19T15:21:02+00:00Added an answer on May 19, 2026 at 3:21 pm

    See a working demo of the following code here.

    The first part of your problem can be solved using position:absolute within a position:relative container that holds your background image.

    #wrapper {
        overflow-x:hidden;
        width:100%;
        position:relative;
    }
    #absSlide {
        width:100px;
        position:absolute; top:200px; right:-100px;
    }
    

    Make sure the wrapper is as wide as the window and that the overflow-x:hidden so that the slide in div isn’t visible before the click. The slide in will be positioned just off stage to the right and top:XXXpx where XXX is the distance from the top of the page where your background element is. Your jQuery would look something like this to animate in the hidden div on click:

    $('#showSlide').click(function(e){
        e.preventDefault();
        $('#absSlide').animate({'right':0},450);
    });
    

    You should be able to modify this code so that it works on the left side instead and animate the left property in the jQuery. I didn’t want to make it too easy as your question was very general. You should ask a separate question for the rest of your problem after you share the working code for what you’re able to implement on the first part.

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

Sidebar

Related Questions

I have an image that I'm using as a background for my buttons. If
I'm writing an image viewer, and I'd like some behavior from Qt: imagine the
I have an ImageView that has a drawable image resource set to a selector.
I have several custom uibuttons on my view. I want to create a toggle
IN SHORT: I want to execute a new command 3 sec after the former
You can see the implementation here . When you hover over any of the
Here's my error: *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
I'm using an asp:FileUpload control to give the user the chance to look for
a designer here, coding newb. I just created a mockup in photoshop, (a dashboard
I have a very simple animation task for Java. I need to create a

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.