Fancy Box doesnt work please help

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2009-10-22T19:51:25Z Indexed on 2010/04/27 3:43 UTC
Read the original article Hit count: 362

Filed under:
|
|

I recently came across fancy box located here, I've followed every step in the instructions perfectly, but it doesn't work, anyone know what might be the problem?

Here is a sample of my page source:

Included the links to scripts as required, and CSS:

<script src="jquery.fancybox-1.2.1/jquery.fancybox/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="jquery.fancybox-1.2.1/jquery.fancybox/jquery.fancybox-1.2.1.js" type="text/javascript"></script>
    <link href="jquery.fancybox-1.2.1/jquery.fancybox/jquery.fancybox.css" rel="stylesheet"
        type="text/css" />
    <link href="css/main.css" rel="stylesheet" type="text/css" />

Then this should simply work:

<a id="single_image" href="images/279641.jpg"><img src="images/279641.jpg" /></a>

But it doesn't seem to do anything except open the image in a new window.

Any suggestions, and thanks in advance.

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript