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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:29:12+00:00 2026-05-27T12:29:12+00:00

I am totally baffled. I have reduced this to the simplest possible case and

  • 0

I am totally baffled. I have reduced this to the simplest possible case and run it through W3c’s validator and I still get this tiny Fancybox window. I’ve used Fancybox many many times. Looks like this:

enter image description here

Page is here: http://www.ericaspindler.com/private/

Code has had all other JS and CSS stripped out in an effort to locate interference.

The entire document:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Erica Spindler | Author</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<script src="http://code.jquery.com/jquery-latest.js"  type="text/javascript"></script>
<script type="text/javascript" src="../js/fancybox_new/jquery.fancybox-1.3.1.js"></script> 
<link rel="stylesheet" type="text/css" href="../js/fancybox_new/jquery.fancybox-1.3.1.css" media="screen" /> 

<script type="text/javascript">
  $(document).ready(function(){     
    $("#infolink").fancybox({});
     $("#infolink").click();
  });

</script>

</head>
<body>

<div id="fancy" style="display:none;">
<div style="width:500px; height:500px">
<img src="../g/video_Faulkner_Society_300.jpg" width="300" height="243" alt="" />
</div></div>
<a id="infolink" href="#fancy" class="infolink" style="display:none"></a>

</body>
</html>

The original HTML content of the #fancy div was reduced to this one image in an effort to clarify.

Also removed the parameters I was initializing with:

  $(".infolink").fancybox({
    'scrolling'     : 'no',
    'titleShow'     : false,
    'overlayOpacity' : '0.7'
  });

Can anyone tell me my error?

  • 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-27T12:29:13+00:00Added an answer on May 27, 2026 at 12:29 pm

    The display: none should be set on the parent div of the one you want to act as a box. See #4 (inline content) in the documentation.

    So move the id="fancy" to the child div like this:

    <div style="display:none;">
      <div style="width:500px; height:500px" id="fancy">
    

    HERE is the example.

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

Sidebar

Related Questions

Im totally new to javascript and i have no clue how to get this
This is so incredibly basic that I am totally baffled as to why it
I thought this would be fairly easy, but I'm totally baffled. I want one
Totally new to programming so kindly excuse the silly question. I have this URL
Totally confused by this one... We have a WAMPServer installation set up, running a
Totally revising this question, since I fixed the first issue but have ran into
Ok, I'm totally baffled. I've been working on this all night and I can't
Totally new to Cake. I have this table named Content and another one named
Totally confused about the data types required here. I have this Linq statement: var
I have been trying to find answers to this question, and I'm currently baffled.

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.