• Resolved grisales

    (@grisales)


    I’m trying to carry on the parameters received by the page URL to the iFrame.

    As per my understanding in the logic of the plugin this has to be set on the file “jquery.colorbox.js” and if I’m not mistaken is in the following block (lines 838-848) where I should concatenate the parameters I’m trying to pass on.

    $(iframe)
    					.attr({
    						src: settings.href,
    						name: (new Date()).getTime(), // give the iframe a unique name to prevent caching
    						'class': prefix + 'Iframe',
    						allowFullScreen : true, // allow HTML5 video to go fullscreen
    						webkitAllowFullScreen : true,
    						mozallowfullscreen : true
    					})
    					.one('load', complete)
    					.appendTo($loaded);

    Now the doubt I have is if I should append this to the src: or to the $loaded.

    Any ideas?

    Am I correct or should I look on a different function/class ?

    https://www.ads-software.com/plugins/wp-colorbox/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pass on params’ is closed to new replies.