Shadowbox revisited
i'll start off saying don't understand how call external javascript animate. know how load, don't know how call it.
i got fancybox.js work animate. thought easy shadowbox.js work, swapping out code used fancybox. here's have in compositionready:
$('<script type="text/javascript" src="js/shadowbox.js?v=3.0.3"></script>').appendto("#stage");
$('<link rel="stylesheet" type="text/css" href="css/shadowbox.css?v=3.0.3" media="screen" />').appendto("#stage");
when click on object, code have supposed launch shadowbox:
$.shadowbox.open([
{
type: 'iframe',
href : 'http://player.vimeo.com/video/69182633?autoplay=1',
width : 960,
height : 540,
},
{
href : 'img/700700.png',
title : '800 x 800'
}
], {
padding : 0
});
you can import external js way:
i dont know how adapt shadowbox ea. i'm following topic learn how it.
More discussions in Edge Animate CC
adobe
Comments
Post a Comment