jackmoore / colorbox

A light-weight, customizable lightbox plugin for jQuery
http://www.jacklmoore.com/colorbox/
MIT License
4.75k stars 1.14k forks source link

need a help please mate #215

Closed cars111 closed 11 years ago

cars111 commented 12 years ago

hi jack loving the colorbox really good, just one issue everything is loading fine but when i click close button the image vanishes and truns up on the left handside of the page . probably a really quick fix but i cant for the life of me work it out thanks http://www.clicksbookstore.com/clicks/english.html

jackmoore commented 12 years ago

You are including jQuery, colorbox.js, and colorbox.css multiple times:

<link rel="stylesheet" href="//cdn.foxycart.com/static/scripts/colorbox/1.3.18/style1_fc/colorbox.css" type="text/css" media="screen" charset="utf-8" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//cdn.foxycart.com/clicksbookstore/foxycart.colorbox.js" type="text/javascript" charset="utf-8"></script>
<!-- END FOXYCART FILES -->
 <link href="foxycart.css" rel="stylesheet" type="text/css" />
  <link rel="stylesheet" href="colorbox.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="jquery.colorbox.js"></script>