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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:02:04+00:00 2026-06-12T21:02:04+00:00

I am creating a website using a jQuery hover effect. The website is perfect

  • 0

I am creating a website using a jQuery hover effect. The website is perfect on desktop, with the mouse on the image I have an hover effect that put a black layer on the image and show the text inside of the box, then click on the link inside and I will redirected to the page, but when I try on ipod touch/iphone/ipad it doesn’t work.

Here is the fiddle: http://jsfiddle.net/IronFeast/RvfQg/

How can I modify my code? I’d like to recreate a double click on the box to show what’s inside:
1st click) selection;
2nd click) start the effect.

Any help would be appreciated.

  • 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-12T21:02:05+00:00Added an answer on June 12, 2026 at 9:02 pm

    I like how you’re using all CSS here. You’re question isn’t entirely clear, but I think that this is what you want: http://jsfiddle.net/howlermiller/fUSXp/2/ (try on an iPad)

    It would be super simple to get this functionality using jQuery, but since you already put in some work to make it all out of CSS, I kept my answer as all CSS. I used the checkbox hack, and I tested it on an iPad to make sure that it works.

    This hack works on desktop browsers too, so if you click on the box then the styling will stay, rather than going away on mouse off. That could be either a good thing or a bad thing, depending on what you’re going to do with it.

    P.S. Using pure css (aka the checkbox hack) isn’t really the best way to do this. It makes your code a little less flexible and less reusable. But it does work perfectly well.

    EDIT: Stop the presses, there’s a bug in Safari 5. I found it thanks to this StackOverflow question. All you have to do to fix it is to add an empty onclick to the label (yeah yeah, another hack, I know, I’m not happy about it either). In my own tests Safari 6 does not seem to have this bug, so you won’t need it unless you’re supporting Safari 5 (which, realistically, is probably a good idea right now. If you’re using this in a few months though, then you could probably use the old fiddle). Here’s the fixed jsfiddle: http://jsfiddle.net/howlermiller/fUSXp/3/

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

Sidebar

Related Questions

I am creating a website using ASP.NET that supports multiple languages. For that I
i'm creating a shopping website that will sell computer parts using MVP and asp.net.
So i am creating a mobile version of my employers website using jquery mobile.
While creating a website using Twitter Bootstrap's carousel, it seems that some scripts are
I am creating a website using JavaScript/ASP.NET/C#/CSS/HTML/Compact SQL server. I have the majority of
I am using JQuery UI autocomplete on my website. I am creating the auto
I am creating an ajax website and I am using jquery's .load() to load
I'm creating a horizontally scrolling website using jQuery and I also want to add
I am creating a website using jQuery Mobile and I am interested in Ajax
I am creating a website using Java EE. I have created a table in

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.