Team:Ciencias-UNAM/scripts/pagescript Home
From 2013.igem.org
(Created page with "for(var i = 0; i < 85; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); } $axure.eventManager.pageLoad( function (e) { if (true) { SetPane...") |
|||
(9 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
for(var i = 0; i < 85; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); } | for(var i = 0; i < 85; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); } | ||
- | + | $axure.eventManager.pageLoad( function (e) { | |
- | $axure.eventManager.pageLoad( | + | |
- | function (e) { | + | |
- | + | ||
if (true) { | if (true) { | ||
- | + | window.alert("a"); | |
- | + | SetPanelState('u77', 'pd1u77','swing','left',1000,'swing','left',1000); | |
- | + | ||
} | } | ||
- | |||
}); | }); | ||
- | + | widgetIdToPanelStateChangeFunction['u77'] = function() { var e = windowEvent; | |
- | widgetIdToPanelStateChangeFunction['u77'] = function() { | + | if ((GetPanelState('u77')) == ('pd0u77')) { function waitued25c8b9db9d48d2b3a8c956cc4a03561() { |
- | var e = windowEvent; | + | window.alert("e"); |
- | + | SetPanelState('u77', 'pd1u77','swing','left',500,'swing','left',500); } setTimeout(waitued25c8b9db9d48d2b3a8c956cc4a03561, 4000); | |
- | if ((GetPanelState('u77')) == ('pd0u77')) { | + | } else if ((GetPanelState('u77')) == ('pd1u77')) { function waitu246a61a133734b3eaaad6bc8258475551() { |
- | function waitued25c8b9db9d48d2b3a8c956cc4a03561() { | + | window.alert("i"); |
- | + | SetPanelState('u77', 'pd2u77','swing','left',500,'swing','left',500); } setTimeout(waitu246a61a133734b3eaaad6bc8258475551, 4000); | |
- | + | } else if ((GetPanelState('u77')) == ('pd2u77')) { function waitub842a36bde6e473090f6e07be327e4371() { | |
- | } | + | window.alert("o"); |
- | setTimeout(waitued25c8b9db9d48d2b3a8c956cc4a03561, 4000); | + | SetPanelState('u77', 'pd0u77','swing','left',500,'swing','left',500); } setTimeout(waitub842a36bde6e473090f6e07be327e4371, 4000); |
- | + | ||
- | } | + | |
- | else | + | |
- | if ((GetPanelState('u77')) == ('pd1u77')) { | + | |
- | function waitu246a61a133734b3eaaad6bc8258475551() { | + | |
- | + | ||
- | + | ||
- | } | + | |
- | setTimeout(waitu246a61a133734b3eaaad6bc8258475551, 4000); | + | |
- | + | ||
- | } | + | |
- | else | + | |
- | if ((GetPanelState('u77')) == ('pd2u77')) { | + | |
- | function waitub842a36bde6e473090f6e07be327e4371() { | + | |
- | + | ||
- | + | ||
- | } | + | |
- | setTimeout(waitub842a36bde6e473090f6e07be327e4371, 4000); | + | |
- | + | ||
} | } | ||
Line 52: | Line 28: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Safety'); |
} | } | ||
Line 64: | Line 40: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project'); |
} | } | ||
Line 76: | Line 52: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/GeneralDesign'); |
} | } | ||
Line 88: | Line 64: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/WetLab'); |
} | } | ||
Line 100: | Line 76: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/DryLab'); |
} | } | ||
Line 112: | Line 88: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/Conclusions'); |
} | } | ||
Line 124: | Line 100: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/References'); |
} | } | ||
Line 136: | Line 112: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team'); |
} | } | ||
Line 148: | Line 124: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team/Sponsors'); |
} | } | ||
Line 160: | Line 136: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices'); |
} | } | ||
Line 172: | Line 148: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices/Journalism'); |
} | } | ||
Line 184: | Line 160: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices/Interviews'); |
} | } | ||
Line 207: | Line 183: | ||
if (true) { | if (true) { | ||
- | self.location.href= | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM'); |
} | } | ||
Line 220: | Line 196: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project'); |
} | } | ||
Line 231: | Line 207: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team'); |
} | } | ||
Line 242: | Line 218: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/WetLab/BioBricks'); |
} | } | ||
Line 253: | Line 229: | ||
if (true) { | if (true) { | ||
- | self.location.href=$axure.globalVariableProvider.getLinkUrl(' | + | self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Achievements'); |
} | } | ||
}); | }); | ||
gv_vAlignTable['u61'] = 'top';gv_vAlignTable['u63'] = 'center';gv_vAlignTable['u65'] = 'center';gv_vAlignTable['u67'] = 'center';gv_vAlignTable['u69'] = 'center';gv_vAlignTable['u71'] = 'center';gv_vAlignTable['u73'] = 'center';gv_vAlignTable['u75'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u79'] = 'center'; | gv_vAlignTable['u61'] = 'top';gv_vAlignTable['u63'] = 'center';gv_vAlignTable['u65'] = 'center';gv_vAlignTable['u67'] = 'center';gv_vAlignTable['u69'] = 'center';gv_vAlignTable['u71'] = 'center';gv_vAlignTable['u73'] = 'center';gv_vAlignTable['u75'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u79'] = 'center'; |
Latest revision as of 04:05, 28 September 2013
for(var i = 0; i < 85; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); } $axure.eventManager.pageLoad( function (e) { if (true) { window.alert("a"); SetPanelState('u77', 'pd1u77','swing','left',1000,'swing','left',1000); } }); widgetIdToPanelStateChangeFunction['u77'] = function() { var e = windowEvent; if ((GetPanelState('u77')) == ('pd0u77')) { function waitued25c8b9db9d48d2b3a8c956cc4a03561() { window.alert("e"); SetPanelState('u77', 'pd1u77','swing','left',500,'swing','left',500); } setTimeout(waitued25c8b9db9d48d2b3a8c956cc4a03561, 4000); } else if ((GetPanelState('u77')) == ('pd1u77')) { function waitu246a61a133734b3eaaad6bc8258475551() { window.alert("i"); SetPanelState('u77', 'pd2u77','swing','left',500,'swing','left',500); } setTimeout(waitu246a61a133734b3eaaad6bc8258475551, 4000); } else if ((GetPanelState('u77')) == ('pd2u77')) { function waitub842a36bde6e473090f6e07be327e4371() { window.alert("o"); SetPanelState('u77', 'pd0u77','swing','left',500,'swing','left',500); } setTimeout(waitub842a36bde6e473090f6e07be327e4371, 4000); }
} gv_vAlignTable['u81'] = 'center';gv_vAlignTable['u83'] = 'center';HookHover('u10', false); gv_vAlignTable['u11'] = 'center';document.getElementById('u12_img').tabIndex = 0; HookHover('u12', false);
u12.style.cursor = 'pointer'; $axure.eventManager.click('u12', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Safety');
} }); gv_vAlignTable['u13'] = 'center';document.getElementById('u16_img').tabIndex = 0; HookHover('u16', false);
u16.style.cursor = 'pointer'; $axure.eventManager.click('u16', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project');
} }); gv_vAlignTable['u17'] = 'center';document.getElementById('u18_img').tabIndex = 0; HookHover('u18', false);
u18.style.cursor = 'pointer'; $axure.eventManager.click('u18', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/GeneralDesign');
} }); gv_vAlignTable['u19'] = 'center';document.getElementById('u20_img').tabIndex = 0; HookHover('u20', false);
u20.style.cursor = 'pointer'; $axure.eventManager.click('u20', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/WetLab');
} }); gv_vAlignTable['u21'] = 'center';document.getElementById('u22_img').tabIndex = 0; HookHover('u22', false);
u22.style.cursor = 'pointer'; $axure.eventManager.click('u22', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/DryLab');
} }); gv_vAlignTable['u23'] = 'center';document.getElementById('u24_img').tabIndex = 0; HookHover('u24', false);
u24.style.cursor = 'pointer'; $axure.eventManager.click('u24', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/Conclusions');
} }); gv_vAlignTable['u25'] = 'center';document.getElementById('u26_img').tabIndex = 0; HookHover('u26', false);
u26.style.cursor = 'pointer'; $axure.eventManager.click('u26', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/References');
} }); gv_vAlignTable['u27'] = 'center';document.getElementById('u30_img').tabIndex = 0; HookHover('u30', false);
u30.style.cursor = 'pointer'; $axure.eventManager.click('u30', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team');
} }); gv_vAlignTable['u31'] = 'center';document.getElementById('u32_img').tabIndex = 0; HookHover('u32', false);
u32.style.cursor = 'pointer'; $axure.eventManager.click('u32', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team/Sponsors');
} }); gv_vAlignTable['u33'] = 'center';document.getElementById('u36_img').tabIndex = 0; HookHover('u36', false);
u36.style.cursor = 'pointer'; $axure.eventManager.click('u36', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices');
} }); gv_vAlignTable['u37'] = 'center';document.getElementById('u38_img').tabIndex = 0; HookHover('u38', false);
u38.style.cursor = 'pointer'; $axure.eventManager.click('u38', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices/Journalism');
} }); gv_vAlignTable['u39'] = 'center';document.getElementById('u40_img').tabIndex = 0; HookHover('u40', false);
u40.style.cursor = 'pointer'; $axure.eventManager.click('u40', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/HumanPractices/Interviews');
} }); gv_vAlignTable['u41'] = 'center';gv_vAlignTable['u43'] = 'center';u44.tabIndex = 0;
u44.style.cursor = 'pointer'; $axure.eventManager.click('u44', function(e) {
if (true) {
self.location.href='https://2013.igem.org/Main_Page';
} }); gv_vAlignTable['u47'] = 'top';gv_vAlignTable['u49'] = 'top';gv_vAlignTable['u1'] = 'center';document.getElementById('u4_img').tabIndex = 0; HookHover('u4', false);
u4.style.cursor = 'pointer'; $axure.eventManager.click('u4', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM');
} }); gv_vAlignTable['u5'] = 'center';HookHover('u6', false); gv_vAlignTable['u7'] = 'center';HookHover('u8', false); gv_vAlignTable['u9'] = 'center';gv_vAlignTable['u51'] = 'top';gv_vAlignTable['u53'] = 'top';gv_vAlignTable['u54'] = 'top';gv_vAlignTable['u55'] = 'top';gv_vAlignTable['u56'] = 'top';gv_vAlignTable['u57'] = 'top';u58.tabIndex = 0;
u58.style.cursor = 'pointer'; $axure.eventManager.click('u58', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project');
} }); gv_vAlignTable['u58'] = 'top';u59.tabIndex = 0;
u59.style.cursor = 'pointer'; $axure.eventManager.click('u59', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Team');
} }); gv_vAlignTable['u59'] = 'top';u60.tabIndex = 0;
u60.style.cursor = 'pointer'; $axure.eventManager.click('u60', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Project/WetLab/BioBricks');
} }); gv_vAlignTable['u60'] = 'top';u61.tabIndex = 0;
u61.style.cursor = 'pointer'; $axure.eventManager.click('u61', function(e) {
if (true) {
self.location.href=$axure.globalVariableProvider.getLinkUrl('https://2013.igem.org/Team:Ciencias-UNAM/Achievements');
} }); gv_vAlignTable['u61'] = 'top';gv_vAlignTable['u63'] = 'center';gv_vAlignTable['u65'] = 'center';gv_vAlignTable['u67'] = 'center';gv_vAlignTable['u69'] = 'center';gv_vAlignTable['u71'] = 'center';gv_vAlignTable['u73'] = 'center';gv_vAlignTable['u75'] = 'top';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u79'] = 'center';