Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Options not working if Fresco is called from an iframe?

edited August 2014 in Fresco
Hello Nick,
if i call Fresco from within an iframe to the top page, it works fine. But ONLY when I add the options (sync), fresco stops to work.

here's the script
window.top.Fresco.show([
{ url: "path to imgs", caption: "cap" },
{ url: "path to imgs", caption: "cap" }],
{ ui: 'outside', overflow: 'none', thumbnails: false,
effects: { content: { show: 1000, hide: 1000, sync: true },},
afterHide: function() { any(); }
}, anyVal );

I repeat that if i remove effects: { content: { show: 1000, hide: 1000, sync: true },} everything work perfectly.
This is the error that i get in safari: "TypeError: 'undefined' is not an object (evaluating 't.view.options.effects.loading.show')"

Any suggestion? Thanks.

Comments

Sign In or Register to comment.