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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:52:39+00:00 2026-05-20T13:52:39+00:00

I have a website with links that use jquery to swap out images when

  • 0

I have a website with links that use jquery to swap out images when the links are hovered over. when the links are clicked on the image is replaced by the original and then the default action fires (the browser follows the link)

On an idevice for some reason the links require two taps to get the browser to follow the links. the first tap replaces the image (as if it is being hovered over) the second tap follows the link. Here is a snippet of the jquery code to handle the hovering and clicking.

$("#youtube").mouseenter(function(){
    $('#youtube_hover').stop(true,true);
    $("#youtube_hover").fadeIn(300);    
}).mouseleave(function(){
    $('#youtube_hover').fadeOut(300);       
}).click(function(){
    $('#youtube_hover').fadeOut(300);
});

It’s as if safari on the idevice is registering the first touch as a mousenter event and nothing else. I was hoping it would register as a click event and so move through the entire sequence in the code and then run the default action.

edit: Just to clarify: I’m not hoping the hover behavour will work on the idevice. The hover behavour is there for desktop/laptop browsers. I am simply hoping for the links to be followed when clicked once.

  • 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-20T13:52:39+00:00Added an answer on May 20, 2026 at 1:52 pm

    I don’t suggest using hover actions for iDevices as there is no ability to hover. Dynamically add a js for iDevices and regular browsers.

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

Sidebar

Related Questions

I have a mobile website that links to a youtube video. On Android, clicking
On my website I have links that are as follows, (shortened for easiness) <a><h2
I have a website that uses the facebook, twitter, delicious share links. They contain
I have a php script that grabs links from another website. I am storing
I have a web site that spits out links to third party sites. Now
I have a website that uses ajax jquery and facebox. Demo here : http://temp.nevergone.eu/facebox.php
I have a jquery mobile website that has simple select. I have successfully tested
I have a fairly basic dialog maker for jquery that works in 2 out
I am trying to use SimpleBox jQuery plug-in on my website. I have the
I have a DotNetNuke website that by default people use anonymously. When they want

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.