Difference between revisions of "ESDC Workplace & You"
Line 1: | Line 1: | ||
[[File:Engagement Activity.pdf|thumb|yo]] | [[File:Engagement Activity.pdf|thumb|yo]] | ||
+ | |||
+ | {{DISPLAYTITLE:<span style="position:absolute; top: -9999px">Move to 4900 Yonge</span >}} | ||
+ | <html> | ||
+ | <head> | ||
+ | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
+ | <style> | ||
+ | .background{background-color:#DAD8A7;margin-top:-80px;background-size: cover } | ||
+ | .Title{background-color:#C0416C;} | ||
+ | .TitleMenu{background-color:#DAD8A7;} | ||
+ | .MenuSelected{background-color:#AADFD4;} | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | <div ></html>{{:Gateway_Technical}}<html></div> | ||
+ | <div class="background" > | ||
+ | <br><br> | ||
+ | <table width=100% align=center border=0 style='max-width: 1200px;background-color:white'> | ||
+ | <tr><td colspan=2><div id='TitlePage' class='Title'></div></td></tr> | ||
+ | <tr> | ||
+ | <td class='MenuGeneral'><div id='BoxMenuText'></div></td> | ||
+ | <td class='MainContent'> | ||
+ | <div id="Main4900" class="content"></html>{{:Move_4900_Main}}<html></div> | ||
+ | <div id="FAQ4900" class="hidden"></html>{{:Move_4900_FAQ}}<html></div> | ||
+ | <div id="ROD4900" class="hidden"></html>{{:Move_4900_ROD}}<html></div> | ||
+ | <div id="Contact4900" class="hidden"></html>{{:Move_4900_Contact}}<html></div> | ||
+ | |||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br><br> | ||
+ | </div> | ||
+ | <script> | ||
+ | $(document).ready(function() {declaration();fillpage()}) | ||
+ | |||
+ | function declaration(){ | ||
+ | |||
+ | List=["Main4900","FAQ4900", "ROD4900","Contact4900"] | ||
+ | ListMenu=["MMain","MFAQ","MROD","MContact"] | ||
+ | |||
+ | if(lang==="en"){ | ||
+ | |||
+ | TitlePageT="Health Canada<br>Move to 4900 Yonge"; | ||
+ | TextMain4900="Main page"; | ||
+ | TextFAQ4900="Frequently Asked Questions"; | ||
+ | TextROD4900="Records of Decision"; | ||
+ | TextContact4900="Contact Us"; | ||
+ | |||
+ | } | ||
+ | else | ||
+ | { | ||
+ | |||
+ | TitlePageT="Initiatives de la GI/TI<br>Santé Canada (SC) & Agence de la santé publique du Canada (ASPC)"; | ||
+ | |||
+ | TextMainM365="Page d’accueil"; | ||
+ | TextUserM365="Trouvez votre nom d'utilisateur <br>et votre mot de passe"; | ||
+ | TextFAQM365Email="Foire aux questions -- Services de courriel M365"; | ||
+ | TextFAQM365="Foire aux questions"; | ||
+ | TextQuikRef365="Comment faire - Guides de référence rapide"; | ||
+ | TextTrainingM365="Guide de formation pour SC et l'ASPC"; | ||
+ | TextSSCM365="GCwiki sur le M365"; | ||
+ | TextMicroM365="Ressources Microsoft"; | ||
+ | TextSupportM365="Contactez-nous"; | ||
+ | |||
+ | } | ||
+ | |||
+ | MenuT="<table class='BorderMenu' border=0>" | ||
+ | +"<tr><td class='tdSpace'><div id='MMain' class='MenuSelected' onclick='displayMain()'>"+TextMain4900+"</div></td></tr>" | ||
+ | +"<tr><td class='tdSpace'><div id='MFAQ' class='Menu' onclick='displayFAQ()'>"+TextFAQ4900+"</div></td></tr>" | ||
+ | +"<tr><td class='tdSpace'><div id='MROD' class='Menu' onclick='displayROD()'>"+TextROD4900+"</div></td></tr>" | ||
+ | +"<tr><td class='tdSpace'><div id='MContact' class='Menu' onclick='displayContact()'>"+TextContact4900+"</div></td></tr>" | ||
+ | +"</table>"; | ||
+ | } | ||
+ | |||
+ | function displayMain(){callContent("Main4900","MMain")} | ||
+ | function displayFAQ(){callContent("FAQ4900","MFAQ")} | ||
+ | function displayROD(){callContent("ROD4900","MROD")} | ||
+ | function displayContact(){callContent("Contact4900","MContact")} | ||
+ | |||
+ | |||
+ | function callContent(id,idMenu){ | ||
+ | for(r=0;r<List.length;r++){ | ||
+ | document.getElementById(List[r]).className ="hidden"; | ||
+ | document.getElementById(ListMenu[r]).className ="Menu"; | ||
+ | } | ||
+ | document.getElementById(id).className="content"; | ||
+ | document.getElementById(idMenu).className="MenuSelected"; | ||
+ | } | ||
+ | |||
+ | |||
+ | function fillpage(){ | ||
+ | document.getElementById("BoxMenuText").innerHTML=MenuT; | ||
+ | document.getElementById("TitlePage").innerHTML=TitlePageT; | ||
+ | } | ||
+ | |||
+ | </script> | ||
+ | </body> | ||
+ | </html> |
Revision as of 12:27, 4 June 2021
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.background{background-color:#DAD8A7;margin-top:-80px;background-size: cover }
.Title{background-color:#C0416C;}
.TitleMenu{background-color:#DAD8A7;}
.MenuSelected{background-color:#AADFD4;}
</style>
</head>
<body>
</html>Move 4900 Main<html>
</html>Move 4900 FAQ<html>
</html>Move 4900 ROD<html>
</html>Move 4900 Contact<html>
|
<script> $(document).ready(function() {declaration();fillpage()})
function declaration(){
List=["Main4900","FAQ4900", "ROD4900","Contact4900"] ListMenu=["MMain","MFAQ","MROD","MContact"]
if(lang==="en"){
TitlePageT="Health Canada
Move to 4900 Yonge";
TextMain4900="Main page";
TextFAQ4900="Frequently Asked Questions";
TextROD4900="Records of Decision";
TextContact4900="Contact Us";
} else {
TitlePageT="Initiatives de la GI/TI
Santé Canada (SC) & Agence de la santé publique du Canada (ASPC)";
TextMainM365="Page d’accueil";
TextUserM365="Trouvez votre nom d'utilisateur
et votre mot de passe";
TextFAQM365Email="Foire aux questions -- Services de courriel M365";
TextFAQM365="Foire aux questions";
TextQuikRef365="Comment faire - Guides de référence rapide";
TextTrainingM365="Guide de formation pour SC et l'ASPC";
TextSSCM365="GCwiki sur le M365";
TextMicroM365="Ressources Microsoft";
TextSupportM365="Contactez-nous";
}
MenuT="
" +"" +"" +"" +"" +""+TextMain4900+" |
"+TextFAQ4900+" |
"+TextROD4900+" |
"+TextContact4900+" |
";
}
function displayMain(){callContent("Main4900","MMain")} function displayFAQ(){callContent("FAQ4900","MFAQ")} function displayROD(){callContent("ROD4900","MROD")} function displayContact(){callContent("Contact4900","MContact")}
function callContent(id,idMenu){
for(r=0;r<List.length;r++){
document.getElementById(List[r]).className ="hidden";
document.getElementById(ListMenu[r]).className ="Menu";
}
document.getElementById(id).className="content";
document.getElementById(idMenu).className="MenuSelected";
}
function fillpage(){
document.getElementById("BoxMenuText").innerHTML=MenuT;
document.getElementById("TitlePage").innerHTML=TitlePageT;
}
</script> </body> </html>