Edge Animate Javascript error in event handler

615
November 23, 2016, at 5:55 PM

In Adobe Edge 2015 project I have 2 symbols popupbutton1 and popupbutton2 and I'm trying to change opacity of popupbutton2 when mouse is over popupbutton1. But I get an error edge.6.0.0.min.js:155 Javascript error in event handler! Event Type = element

in sym.getSymbol("popupbutton2").animate({ 'opacity': 0.4}, 500);

but the code sym.getSymbol("popupbutton2").hide() works well and this code with opacity changing has worked in previous version of Edge Animate. Thank you in advance!

Answer 1

I believe this has to do with Adobe Edge dropping jQuery from its native API.

See here to add jQuery back into your project and (hopefully) restore functionality: https://jquery.com/download/

Do be aware that jQuery will trump the Edge API if you do so, but I haven't seen a downside to that as yet.

Alternatively, just add the following line to the beginning of your edgeproject.html:

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>

Hope that helps!

Rent Charter Buses Company
READ ALSO
Hide divs containing text equal to the selected text?

Hide divs containing text equal to the selected text?

end goal is to only show the divs, containing the text equal to that of the select menu/dropdown. But I think I can make my way there if I could just figure out how to hide them.

292
ASP.net MVC Datepicker with date validation

ASP.net MVC Datepicker with date validation

Can anyone tell me what is wrong with this code? I am trying to validate the date on a datepicker date to mm/dd/yyyy when allowing user input. I used validation code that was suggested to me, and have some other code in there to make sure the popup calendar...

409
Javascript: How to display values of all radio buttons regardless of being checked?

Javascript: How to display values of all radio buttons regardless of being checked?

I have four radio buttons that I want to display all the values of using javascript. Supposedly, their elements are 1-4.

321
Iterating through list elements - jQuery

Iterating through list elements - jQuery

I have the following list:.

506