Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Edge + iLightbox ?

$
0
0

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. <scripttype="text/javascript"src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
  2. <scripttype="text/javascript"src="/src/js/jquery.requestAnimationFrame.js"></script>
  3. <scripttype="text/javascript"src="/src/js/jquery.mousewheel.js"></script>
  4. <scripttype="text/javascript"src="/src/js/ilightbox.packed.js"></script>
  5. <linkrel="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 = elementedge.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?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>