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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:36:54+00:00 2026-06-16T20:36:54+00:00

First post, so apologies in advance. I’m using this How to display fancybox title

  • 0

First post, so apologies in advance.

I’m using this
How to display fancybox title only on image hover
and it works a treat, except when you click prev/next and the cursor is ALREADY hovering, the title doesn’t appear – you have to hover out and back in again.

Any idea how to make the title appear if you’re already hovering when the image loads?

Example here
http://www.richardbarry.co.uk/fancyhover.php

It worked in fancybox 1, like this-
http://www.richardbarry.co.uk/gallery.php

Any help much 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-16T20:36:55+00:00Added an answer on June 16, 2026 at 8:36 pm

    As a workaround, you may try adding a function to detect if the mouse is already hovering the fancybox content as in this post …. then show the fancybox title if so.

    $(".fancybox").fancybox({
      helpers: {
        title: {
          type: 'over'
        }
      },
      afterShow: function () {
        $(".fancybox-title").hide();
        // shows/hides title on hover
        $(".fancybox-wrap").hover(function () {
          $(".fancybox-title").stop(true, true).slideDown(200);
        }, function () {
          $(".fancybox-title").stop(true, true).slideUp(200);
        });
        // detects if mouse is already hovering
        $(".fancybox-outer a, .fancybox-outer img").hover(function () {
          $(this).data('timeout', setTimeout(function () {
            $(".fancybox-title").stop(true, true).slideDown(200);
          }, 100));
        }, function () {
          clearTimeout($(this).data('timeout'));
        });
      }
    });
    

    See JSFIDDLE … it seems to work fine in IE7+ and FF

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

Sidebar

Related Questions

First, a thank you in advance. Second, this is my first post so apologies
This is my first post. Apologies in advance if my question is dumb. I'm
My apologies in advance should I butcher any Python vocabulary, this is my first
this is my first post here so I apologise in advance for any poor
This is my first post here so apologies if the setup is kind of
This is my first post on StackOverflow, so apologies if it's lacking the right
First things first.. My apologies if this is a duplicate post.. Correct me, redirect
My first post, tried to be as thorough as possible, apologies in advance if
First post here... I normally develop using PHP and Symfony with Propel and ActionScript
My first post here, so i hope this is the right area. I am

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.