WordPress.org

Support

Support » Plugins and Hacks » Colorbox javascript breaking after 53 inline colorboxes

Colorbox javascript breaking after 53 inline colorboxes

  • Hello, and thanks for the great plugin. Ive run into a problem where my outputted code on my page seems to ‘break’ after 53 lines of inline colorboxes. This is the output im getting, and hence the rest of my inline colorboxes are not working properly:

    $(".lbp-inline-link-1").colorbox({transition:"elastic", speed:"300", width:"80%", height:"80%", innerWidth:false, innerHeight:false, maxWidth:"80%", maxHeight:"80%", top:false, right:false, bottom:false, left:false, fixed:false, open:false, opacity:"0.8", inline:true, href:"#lbp-inline-href-1"});
      $(".lbp-inline-link-2").colorbox({transition:"elastic", speed:"300", width:"80%", height:"80%", innerWidth:false, innerHeight:false, maxWidth:"80%", maxHeight:"80%", top:false, right:false, bottom:false, left:false, fixed:false, open:false, opacity:"0.8", inline:true, href:"#lbp-inline-href-2"});
      $(".lbp-inline-link-3").colorbox({transition:"elastic", speed:"300", width:"80%", height:"80%", innerWidth:false, innerHeight:false, maxWidth:"80%", maxHeight:"80%", top:false, right:false, bottom:false, left:false, fixed:false, open:false, opacity:"0.8", inline:true, href:"#lbp-inline-href-3"});

    etc etc etc….. but then i get:

    $(".").colorbox({transition:false, speed:false, width:false, height:false, innerWidth:false, innerHeight:false, maxWidth:false, maxHeight:false, top:false, right:false, bottom:false, left:false, fixed:false, open:false, opacity:false, inline:true, href:"#"});

    after line 53. Ive tried uninstalling the plugin and reinitializing but this seems to have no effect. Any ideas?

    http://wordpress.org/extend/plugins/lightbox-plus/

  • The topic ‘Colorbox javascript breaking after 53 inline colorboxes’ is closed to new replies.