Closed timint closed 8 years ago
data-type="url"
with data-disableExternalCheck="true"
should do it
read the source: https://github.com/ashleydw/lightbox/blob/master/ekko-lightbox.coffee#L254
That didnt work for me. I tried it before creating this thread.
@ashleydw Didn't work for me either. I can't use this library because of this :(
UPDATE:
Found the problem!
You should use data-disable-external-check="true"
instead of the camel-case version.
Another stupid strange behavior of the jQuery.data() function.
I am missing a feature to force local content as iframe rather than inline content.
This is necessary when loading isolated or printable content which cannot interfere with CSS or HTML.
My proposal is simply data-type="iframe"
I can provide the javascript code myself but I'm not too experienced with CoffeeScript.