Team:TecMonterrey/test/final edgeActions.js
From 2013.igem.org
KingDavid2 (Talk | contribs) |
KingDavid2 (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | |||
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol; | (function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol; | ||
//Edge symbol: 'stage' | //Edge symbol: 'stage' | ||
- | (function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){ | + | (function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){yepnope({load:"http://cdn.edgecommons.org/an/1.0.0/js/min/EdgeCommons.js",complete:function(){EC.centerStage(sym);EC.Parallax.setup(sym);}});sym.getSymbol("Home").play("in");sym.getSymbol("Home").hide();}); |
- | + | ||
- | + | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.stop();}); | + | Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.stop();var video=sym.$("Video");video.html('<video width = "100%" height = "auto" autoplay loop muted controls style=" -webkit-filter: brightness(108.5%); -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; ";> <source src="https://static.igem.org/mediawiki/igem.org/b/b2/Bacterias2.mp4"></video> ');}); |
//Edge binding end | //Edge binding end | ||
})("stage"); | })("stage"); | ||
Line 13: | Line 12: | ||
//Edge symbol: 'Menu' | //Edge symbol: 'Menu' | ||
- | (function(symbolName){})("Menu"); | + | (function(symbolName){Symbol.bindSymbolAction(compId,symbolName,"creationComplete",function(sym,e){sym.setVariable("seccion","Home");}); |
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Menu_Home}","click",function(sym,e){var current=sym.getVariable("seccion");if(current!=""){sym.getParentSymbol().getSymbol(current).play("out");} | ||
+ | sym.getParentSymbol().getSymbol("Home").play("in2");sym.getParentSymbol().$("Home").css("z-index",1);sym.getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().$("Project").css("z-index",0);sym.setVariable("seccion","Home");}); | ||
+ | //Edge binding end | ||
+ | })("Menu"); | ||
//Edge symbol end:'Menu' | //Edge symbol end:'Menu' | ||
Line 19: | Line 23: | ||
(function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); | (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play(" | + | Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Stay");}); |
//Edge binding end | //Edge binding end | ||
Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); | Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
Line 29: | Line 33: | ||
Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); | Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.play("Open");}); |
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","click",function(sym,e){}); |
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("Stay");}); | ||
//Edge binding end | //Edge binding end | ||
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop("Close");}); | Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop("Close");}); | ||
//Edge binding end | //Edge binding end | ||
- | })(" | + | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","click",function(sym,e){var current=sym.getParentSymbol().getVariable("seccion");if(current!=""){sym.getParentSymbol().getParentSymbol().getSymbol(current).play("out");} |
- | //Edge symbol end:' | + | sym.getParentSymbol().getParentSymbol().getSymbol("Project").play("in2");sym.getParentSymbol().getParentSymbol().$("Project").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Home").css("z-index",0);sym.getParentSymbol().setVariable("seccion","Project");}); |
+ | //Edge binding end | ||
+ | })("Menu_Project1"); | ||
+ | //Edge symbol end:'Menu_Project1' | ||
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Dibujo' |
- | (function(symbolName){})(" | + | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",3000,function(sym,e){sym.stop();}); |
- | //Edge symbol end:' | + | //Edge binding end |
+ | })("Dibujo1"); | ||
+ | //Edge symbol end:'Dibujo1' | ||
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Content' |
- | (function(symbolName){})(" | + | (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_Text4}","click",function(sym,e){var current=sym.getVariable("DibujoZoom");if(current!=""){sym.getSymbol(current).play("out");sym.getSymbol("Dibujo1").play("in");} |
- | //Edge symbol end:' | + | else{sym.getSymbol("Dibujo1").play("zoomIn");} |
+ | sym.setVariable("DibujoZoom","Dibujo1");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Text4Copy}","click",function(sym,e){var current=sym.getVariable("DibujoZoom");if(current!=""){sym.getSymbol(current).play("out");sym.getSymbol("Dibujo2").play("in");} | ||
+ | else{sym.getSymbol("Dibujo2").play("zoomIn");} | ||
+ | sym.setVariable("DibujoZoom","Dibujo2");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindSymbolAction(compId,symbolName,"creationComplete",function(sym,e){sym.setVariable("DibujoZoom","");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",2000,function(sym,e){sym.stop();}); | ||
+ | //Edge binding end | ||
+ | })("Home"); | ||
+ | //Edge symbol end:'Home' | ||
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Preloader' |
- | (function(symbolName){ | + | (function(symbolName){})("Preloader"); |
- | //Edge | + | //Edge symbol end:'Preloader' |
- | Symbol.bindTriggerAction(compId,symbolName,"Default Timeline", | + | |
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Dibujo1_1' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",3000,function(sym,e){sym.stop();}); | ||
//Edge binding end | //Edge binding end | ||
- | })(" | + | })("Dibujo2"); |
- | //Edge symbol end:' | + | //Edge symbol end:'Dibujo2' |
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Project1' |
- | (function(symbolName){Symbol. | + | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",2000,function(sym,e){sym.stop();}); |
- | + | ||
- | + | ||
//Edge binding end | //Edge binding end | ||
})("Project"); | })("Project"); | ||
Line 72: | Line 97: | ||
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Dibujo1_1' |
- | (function(symbolName){})(" | + | (function(symbolName){})("Dibujo0"); |
- | //Edge symbol end:' | + | //Edge symbol end:'Dibujo0' |
//========================================================= | //========================================================= | ||
- | //Edge symbol: ' | + | //Edge symbol: 'Menu_Home' |
- | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop( | + | (function(symbolName){})("Menu_Home"); |
+ | //Edge symbol end:'Menu_Home' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Menu_Project1_1' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_Project_Background}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); |
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_Project_Background}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); |
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_Project_Description}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); |
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_Project_Description}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); |
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Project_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Project_FutureWork}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","mouseover",function(sym,e){sym.play("Open");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","mouseout",function(sym,e){sym.play("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","click",function(sym,e){var current=sym.getParentSymbol().getVariable("seccion");if(current!=""){sym.getParentSymbol().getParentSymbol().getSymbol(current).play("out");} | ||
+ | sym.getParentSymbol().getParentSymbol().getSymbol("Project").play("in2");sym.getParentSymbol().getParentSymbol().$("Project").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Home").css("z-index",0);sym.getParentSymbol().setVariable("seccion","Project");}); | ||
+ | //Edge binding end | ||
+ | })("Menu_Project"); | ||
+ | //Edge symbol end:'Menu_Project' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Project_BAckground' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); | ||
//Edge binding end | //Edge binding end | ||
Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); | Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
Line 93: | Line 143: | ||
Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); | Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | })("Project_Background"); |
+ | //Edge symbol end:'Project_Background' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Project_Background_1' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseout",function(sym,e){sym.play("Stay");}); | ||
+ | //Edge binding end | ||
+ | })("Project_Description"); | ||
+ | //Edge symbol end:'Project_Description' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Project_Background_1' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Stay");}); | ||
+ | //Edge binding end | ||
+ | })("Project_FutureWork"); | ||
+ | //Edge symbol end:'Project_FutureWork' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Project_Title' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.stop("Stay");}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("Stay");}); | ||
+ | //Edge binding end | ||
+ | })("Project_Title"); | ||
+ | //Edge symbol end:'Project_Title' | ||
+ | |||
+ | //========================================================= | ||
+ | |||
+ | //Edge symbol: 'Project_Title1' | ||
+ | (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",250,function(sym,e){sym.stop();}); | ||
+ | //Edge binding end | ||
+ | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.stop("stay");}); | ||
//Edge binding end | //Edge binding end | ||
- | Symbol.bindElementAction(compId,symbolName,"${ | + | Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("stay");}); |
//Edge binding end | //Edge binding end | ||
- | })(" | + | })("Project_Title1"); |
- | //Edge symbol end:' | + | //Edge symbol end:'Project_Title1' |
})(jQuery,AdobeEdge,"iGem"); | })(jQuery,AdobeEdge,"iGem"); |
Latest revision as of 13:27, 23 September 2013
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol; //Edge symbol: 'stage' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){yepnope({load:"http://cdn.edgecommons.org/an/1.0.0/js/min/EdgeCommons.js",complete:function(){EC.centerStage(sym);EC.Parallax.setup(sym);}});sym.getSymbol("Home").play("in");sym.getSymbol("Home").hide();}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.stop();var video=sym.$("Video");video.html('<video width = "100%" height = "auto" autoplay loop muted controls style=" -webkit-filter: brightness(108.5%); -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; ";> <source src="https://static.igem.org/mediawiki/igem.org/b/b2/Bacterias2.mp4"></video> ');}); //Edge binding end })("stage"); //Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'Menu' (function(symbolName){Symbol.bindSymbolAction(compId,symbolName,"creationComplete",function(sym,e){sym.setVariable("seccion","Home");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Menu_Home}","click",function(sym,e){var current=sym.getVariable("seccion");if(current!=""){sym.getParentSymbol().getSymbol(current).play("out");} sym.getParentSymbol().getSymbol("Home").play("in2");sym.getParentSymbol().$("Home").css("z-index",1);sym.getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().$("Project").css("z-index",0);sym.setVariable("seccion","Home");}); //Edge binding end })("Menu"); //Edge symbol end:'Menu'
//Edge symbol: 'Menu_Project' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.play("Open");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","click",function(sym,e){}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop("Close");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","click",function(sym,e){var current=sym.getParentSymbol().getVariable("seccion");if(current!=""){sym.getParentSymbol().getParentSymbol().getSymbol(current).play("out");} sym.getParentSymbol().getParentSymbol().getSymbol("Project").play("in2");sym.getParentSymbol().getParentSymbol().$("Project").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Home").css("z-index",0);sym.getParentSymbol().setVariable("seccion","Project");}); //Edge binding end })("Menu_Project1"); //Edge symbol end:'Menu_Project1'
//=========================================================
//Edge symbol: 'Dibujo' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",3000,function(sym,e){sym.stop();}); //Edge binding end })("Dibujo1"); //Edge symbol end:'Dibujo1'
//=========================================================
//Edge symbol: 'Content' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_Text4}","click",function(sym,e){var current=sym.getVariable("DibujoZoom");if(current!=""){sym.getSymbol(current).play("out");sym.getSymbol("Dibujo1").play("in");} else{sym.getSymbol("Dibujo1").play("zoomIn");} sym.setVariable("DibujoZoom","Dibujo1");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Text4Copy}","click",function(sym,e){var current=sym.getVariable("DibujoZoom");if(current!=""){sym.getSymbol(current).play("out");sym.getSymbol("Dibujo2").play("in");} else{sym.getSymbol("Dibujo2").play("zoomIn");} sym.setVariable("DibujoZoom","Dibujo2");}); //Edge binding end Symbol.bindSymbolAction(compId,symbolName,"creationComplete",function(sym,e){sym.setVariable("DibujoZoom","");}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",2000,function(sym,e){sym.stop();}); //Edge binding end })("Home"); //Edge symbol end:'Home'
//=========================================================
//Edge symbol: 'Preloader' (function(symbolName){})("Preloader"); //Edge symbol end:'Preloader'
//=========================================================
//Edge symbol: 'Dibujo1_1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",3000,function(sym,e){sym.stop();}); //Edge binding end })("Dibujo2"); //Edge symbol end:'Dibujo2'
//=========================================================
//Edge symbol: 'Project1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",2000,function(sym,e){sym.stop();}); //Edge binding end })("Project"); //Edge symbol end:'Project'
//=========================================================
//Edge symbol: 'Dibujo1_1' (function(symbolName){})("Dibujo0"); //Edge symbol end:'Dibujo0'
//=========================================================
//Edge symbol: 'Menu_Home' (function(symbolName){})("Menu_Home"); //Edge symbol end:'Menu_Home'
//=========================================================
//Edge symbol: 'Menu_Project1_1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Background}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Background}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Description}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Description}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");var mySymbolObject=sym.getSymbol("Project_Title").stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_FutureWork}","mouseout",function(sym,e){sym.play("Stay");var mySymbolObject=sym.getSymbol("Project_Title").play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","mouseover",function(sym,e){sym.play("Open");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Project_Title}","click",function(sym,e){var current=sym.getParentSymbol().getVariable("seccion");if(current!=""){sym.getParentSymbol().getParentSymbol().getSymbol(current).play("out");} sym.getParentSymbol().getParentSymbol().getSymbol("Project").play("in2");sym.getParentSymbol().getParentSymbol().$("Project").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Menu").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("MenuImgs").css("z-index",1);sym.getParentSymbol().getParentSymbol().$("Home").css("z-index",0);sym.getParentSymbol().setVariable("seccion","Project");}); //Edge binding end })("Menu_Project"); //Edge symbol end:'Menu_Project'
//=========================================================
//Edge symbol: 'Project_BAckground' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end })("Project_Background"); //Edge symbol end:'Project_Background'
//=========================================================
//Edge symbol: 'Project_Background_1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end })("Project_Description"); //Edge symbol end:'Project_Description'
//=========================================================
//Edge symbol: 'Project_Background_1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end })("Project_FutureWork"); //Edge symbol end:'Project_FutureWork'
//=========================================================
//Edge symbol: 'Project_Title' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end })("Project_Title"); //Edge symbol end:'Project_Title'
//=========================================================
//Edge symbol: 'Project_Title1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",250,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseover",function(sym,e){sym.stop("stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_ProjectTitle}","mouseout",function(sym,e){sym.play("stay");}); //Edge binding end })("Project_Title1"); //Edge symbol end:'Project_Title1' })(jQuery,AdobeEdge,"iGem");