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

How do I add a class to the Open URL action?

$
0
0

I've got a symbol and I want to add the Open URL action to the click state, but I also want to add a class to that code. The click event will open a lightbox and play a Youtube video. I've appended the js files I need to my creationComplete area and all I need to do is add this class on the href.

 

This is what I've got right now -

window.open("youtube link", "class=voverlay");

 

It's not working of course. What am I missing?

 

Thanks.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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