7 Replies Latest reply: Dec 28, 2012 6:11 AM by sbest58 RSS

    Adobe Animate and Fancybox plugin problem

    sbest58 Community Member

      I am trying to get the Fancybox plugin working with animate but I can only get individual images to display.

      How can I add: rel="gallery" to the individual edge div elements that are the thumbnails for the lightbox slideshow?

       

      Here is the code so far:

      Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {

         $('<script type="text/javascript" src="source/jquery.fancybox.js?v=2.1.1"></script>').appendTo("#Stage" );

         $('<link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.1" media="screen" />').appendTo("#Stage");

       

         sym.$("Rectangle").fancybox({

                   href: 'images/slides/1_Landscape.jpg',

                   title : 'Title1'

         });

         sym.$("Rectangle2").fancybox({

                   href: 'images/slides/2_Landscape.jpg',

                   title : 'Title2'

         });

       

      });