custombox icon indicating copy to clipboard operation
custombox copied to clipboard

deletes iframe content

Open IngAlejandroSalazar opened this issue 10 years ago • 3 comments

to open the window , delete the contents of my twitter widget . any suggestions?

IngAlejandroSalazar avatar Jan 31 '16 21:01 IngAlejandroSalazar

You have any problems with custombox?

dixso avatar Feb 05 '16 05:02 dixso

I think it's a bug, running custombox in a modal window and affected an iframe ( widget twitter ) as in the index

IngAlejandroSalazar avatar Feb 05 '16 13:02 IngAlejandroSalazar

Hi, Try this: Custombox.set({ autobuild: true }); document.getElementById('element').addEventListener('click', function( e ) { Custombox.open({ target: '#modal', effect: 'fadein' }); e.preventDefault(); });

dixso avatar Mar 03 '16 05:03 dixso