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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:59:45+00:00 2026-05-26T10:59:45+00:00

Soory if I didn’t show you all the code, because I am not sure

  • 0

Soory if I didn’t show you all the code, because I am not sure how to implement it, what I try to do is that suppose this is a picture following:

  #photo{ width:100px;height:120px;}
  <div id="photo"><img src="myphoto.jpg"/></div>

and I have edit photo box:

   #edit{width:60px;height:30px;background:#000000;color:#ffffff}
  <div id="edit">edit it</div>

When I hover the image, i want the edit phot box display in the top right corner of the image, and when the cursor move out of the image, it will be disappeared.

So I assume using the following

     $("#photo img").hover(function() {
    $("#edit").fadein();
 }, function() {
    $("#edit").hide();
    });

any one could help me with it, thanks a lot!

  • 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-26T10:59:46+00:00Added an answer on May 26, 2026 at 10:59 am

    That’s basically it. You also need to (a) hide the #edit element on load using display:none in your stylesheet, (b) change fadein to fadeIn (capital I), and probably (c) position the #edit element absolutely inside the #photo div so it doesn’t reflow the page when it appears and disappears.

    update: Oh, and (d) add a mouseover to the #edit element so that moving the mouse over it doesn’t register as a mouseout of the image:

    $("#edit").mouseover(function() {
      $(this).show();
    });
    

    http://jsfiddle.net/mblase75/bNmAd/2/

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

Sidebar

Related Questions

Sorry if I didn't show you the whole code, because I am not sure
Sorry if I didn't show you the code because I have no idea how
Why does this VBA code not work?: Sub AllToGeorgia12() Selection.Font.Size = 12 Selection.WholeStory Selection.Font.Name
Sorry for this misleading subject, i didn't know how to word better. Because i'm
Sorry if this question is answered already, but I didn't find a suitable answer.
Sorry for this not being a real question, but Sometime back i remember seeing
Sorry for the second newbie question, I'm a developer not a sysadmin so this
Can you please tell me how does this java code work? : public class
I'm sorry, didn't know that Length is computed at construction time!! I got 200
We have a button that saves asynchronously using AjaxToolKit/C#/.NET. I'm getting this in my

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.