Isssue with ColorBox jQuery plugin

Posted by RyanP13 on Stack Overflow See other posts from Stack Overflow or by RyanP13
Published on 2010-03-31T10:54:04Z Indexed on 2010/03/31 11:03 UTC
Read the original article Hit count: 338

Filed under:
|

Hi,

I am using this plugin for my new site:

http://colorpowered.com/colorbox/

The page in concern has two hyper links which are of the same class:

a.emailQuote

These both should open the same colorbox window which is done by the following code:

    $("a.emailQuote").colorbox({
    transistion:"fade",
    title:true,
    iframe:true,
    scrolling:false,
    close:"Close this window",
    innerWidth:478,
    innerHeight:507,
    initialWidth:478,
    initialHeight:507       
});

however when the colorbox window opens it seems to register that there are two windows so displays the previous, next arrows and the text that says this is image one of two.

I was wondering if there was a way to fix this without hiding these elements with CSS.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins