-
20 Jul 2012 5:41 AM #1
Newbie link question
Newbie link question
Hi. I've created an animation and embedded it in an iframe, but now the links I've created in the animation all open within the iframe. What do I need to do to have them open in a new window, tab, or parent window?
Thank you.
-
20 Jul 2012 11:22 AM #2
A little more info...I believe I narrowed down a section of the code that shows the link I would like to appear in an external window:
projectActions: {},
events: [{id: "an-obj-1",type: 'click',handler: function(controller) {
controller.goToURL('http://www.hopenetwork.org/PDF-Doc-s/Summer-Groups-2012-animals.aspx');
-
23 Jul 2012 12:02 PM #3
Try replacing the code by either editing the exported code, or use a custom JS action. Let me know if it works.
Basically, you'll want
instead ofCode:window.open('http://www.hopenetwork.org/PDF-Doc-s/Summer-Groups-2012-animals.aspx');
Code:controller.goToURL('http://www.hopenetwork.org/PDF-Doc-s/Summer-Groups-2012-animals.aspx');
-
24 Jul 2012 5:19 AM #4
That worked thank you, but one other issue...
That worked thank you, but one other issue...
My project stage is 580 px x 325 px. In Firefox the only thing that shows up is a small ~10 px square in the upper left-hand corner of the window. I understand Animator doesn't work in IE (ouch), but I thought Firefox now supports CSS3 animations. FYI I tried it on my desktop using Firefox 14.0.1 on Windows XP Pro and on Firefox for Android. Same results.
-
24 Jul 2012 8:15 AM #5
Is firefox export enabled? Check in the side panel -> Project -> Browser Support.
-
24 Jul 2012 8:27 AM #6


Reply With Quote
. You da man!