my code stock.com

Console Error lightbox_html is not defined

Snippet options

Download: Download snippet as colorbox-bugfix.js.
Copy snippet: For this you need a free my code stock.com account.
Embed code : You will find the embed code for this snippet at the end of the page, if you want to embed it into a website or a blog!

// Just a long list of vars, ugly, but it does the job
var lightbox_html, lightbox_photo,
lightbox_transition, lightbox_speed,
lightbox_fadeOut, lightbox_width,
lightbox_height, lightbox_initialWidth,
lightbox_innerWidth, lightbox_maxWidth,
lightbox_initialHeight, lightbox_innerHeight,
lightbox_maxHeight, lightbox_scrolling,
lightbox_opacity, lightbox_overlayClose,
lightbox_escKey, lightbox_arrowKey, lightbox_top,
lightbox_bottom, lightbox_left, lightbox_right,
lightbox_fixed, lightbox_closeButton, lightbox_fastIframe,
lightbox_open, lightbox_reposition, lightbox_loop,
lightbox_slideshow, lightbox_slideshowAuto, lightbox_slideshowSpeed,
lightbox_slideshowStart, lightbox_slideshowStop,
lightbox_retinaImage, lightbox_retinaUrl, lightbox_retinaSuffix,
lightbox_previous, lightbox_next, lightbox_returnFocus,
lightbox_trapFocus = "";

Create a free my code stock.com account now.

my code stok.com is a free service, which allows you to save and manage code snippes of any kind and programming language. We provide many advantages for your daily work with code-snippets, also for your teamwork. Give it a try!

Find out more and register now

You can customize the height of iFrame-Codes as needed! You can find more infos in our API Reference for iframe Embeds.