Solved

Colorbox Not Opening

Posted on 2014-03-02
2
235 Views
Last Modified: 2014-03-02
I am trying to use the "Colorbox Slider".  When I select the image, the colorbox slider doesn't open.

<script>
            jQuery(document).ready(function () {
                jQuery('a.gallerycb').colorbox({ opacity:0.5 , rel:'group1' });
            });
        </script>
<table border='0' cellspacing='0' cellpadding='0' width='100%' id='grid'>
<tr>

<td class='gallerycb' width='33%'><div><a href='gallery/BriOne.jpg'><img src='gallery/BriOne.jpg' /></a></div>
<div class='caption'>Added: Apr-1-2013</div></td>
<td class='gallerycb' width='33%'><div><a href='gallery/BriFour.jpg'><img src='gallery/BriFour.jpg' /></a></div>
<div class='caption'>Added: Oct-30-2011</div></td>
<td class='gallerycb' width='33%'><div><a href='gallery/BriThree.jpg'><img src='gallery/BriThree.jpg' /></a></div>
<div class='caption'>Added: Jul-12-2009</div></td>
</tr>

<tr>
<td class='gallerycb' width='33%'><div class='caption'>Added: Jul-12-2009</div>
</td>
<td class='photo' width='33%'>
<div class='caption'>Added: Jul-12-2009</div>
<div><a href='gallery/BriTwo.jpg'><img src='gallery/BriTwo.jpg' /></a></div></td>
</tr>
</table>
</div id="gallery">

Open in new window


The page
http://www.bricooper.net/photobri.html
photobri.html
0
Comment
Question by:DS928
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39899411
Don't see anywhere that you have included the Colorbox plugin
Plus you have fancybox loaded and are using that on one of the images.
0
 

Author Closing Comment

by:DS928
ID: 39899453
Thank you.  I just switched over and Fancybox is working.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question