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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:49:05+00:00 2026-06-07T16:49:05+00:00

I am making a bookmarklet that will upload a image from the page the

  • 0

I am making a bookmarklet that will upload a image from the page the user is on when it is clicked, all is going well so far but i have hit a bump.

what i want to happen is,

  1. User clicks bookmarklet
  2. User hovers over an image on the page.
  3. a div appears on hover
  4. when div is clicked it is taken to my website.

But the div that appears messes with the .hover, it stutters back and forth. I am guessing this is because technically the user isn’t hovering over the image anymore rather the div i have created.

Here is a example.
http://jsfiddle.net/P4b8H/

How could i fix this?

  • 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-07T16:49:07+00:00Added an answer on June 7, 2026 at 4:49 pm

    The issue here is that you’re always leaving the image, i.e. hovering out, when your div is created. But then in the hover-out function you’re hiding the div, so you’re kinda stuck in an infinite loop.

    To solve, consider having a mouseover on the image and a mouseout on the div.

    $("img").mouseover(function(){});
    
    $('#WRAPPER').mouseleave(function() {});
    

    I modified your fiddle. http://jsfiddle.net/P4b8H/5/

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

Sidebar

Related Questions

I'm making a bookmarklet for a website that will need to parse multiple pages.
I am making a javascript bookmarklet that resizes all images, periodically. javascript: function x(){
Im making a flash app that will capture video from the users web-cam, show
I'm making a bookmarklet, but I've encountered some wierd behaviour in IE8. The code
Making a flash page that can cycle through these three images on mouseclick. For
Making the transition from Vim to gVim, I would like to disable all toolbars
I'm making a bookmarklet which will load jQuery if the object is not found.
Making a new site but something is happening to it in IE8. The social
Making a new site but something is happening to it in IE. I've purchased
Making a simple application, so when the user logs out of Windows, it of

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.