1 Reply Latest reply on Dec 5, 2013 10:59 AM by elainecc

    Edge + iLightbox ?

    armingal

      Hello Community.

       

      I try to use the iLightbox (http://www.ilightbox.net) inside Adobe Edge.

       

      I've added the following Code to the "compositionReady" Event:

       

      1. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
      2. <script type="text/javascript" src="/src/js/jquery.requestAnimationFrame.js"></script>
      3. <script type="text/javascript" src="/src/js/jquery.mousewheel.js"></script>
      4. <script type="text/javascript" src="/src/js/ilightbox.packed.js"></script>
      5. <link rel="stylesheet" type="text/css" href="/src/css/ilightbox.css"/>

       

       

      And this to the "click" Event of a Rectangle:

       

      1. $.iLightBox([
      2.   {
      3.     URL: "image.jpg"
      4.   }
      5. ]);

       

      Even commenting the first line(jquery is included in Edge) won't help.

       

      After clicking the Rectangle i get this Error in the console:

       

      Javascript error in event handler! Event Type = element edge.2.0.1.min.js:162


       

      When I use those Lines of Code into a html file(in the same directory as my Edge files) it works properly.


       

      Does someone have an Advice what I am doing wrong?