Difference between revisions of "MediaWiki:Timeless.js"

From Fintech Lab Wiki
(Created page with "→‎All JavaScript here will be loaded for users of the Timeless skin: var bocconi_logo = document.getElementById('p-banner'); bocconi_logo.setAttribute('href',"https://www....")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* All JavaScript here will be loaded for users of the Timeless skin */
 
/* All JavaScript here will be loaded for users of the Timeless skin */
 
+
const bocconiLogo = document.getElementById('p-banner');
var bocconi_logo = document.getElementById('p-banner');
+
bocconiLogo.setAttribute('href', "https://www.unibocconi.it");
bocconi_logo.setAttribute('href',"https://www.unibocconi.it");
+
bocconiLogo.setAttribute('target', "_blank");
bocconi_logo.setAttribute('target',"_blank");
 

Latest revision as of 16:10, 1 June 2022

/* All JavaScript here will be loaded for users of the Timeless skin */
const bocconiLogo = document.getElementById('p-banner');
bocconiLogo.setAttribute('href', "https://www.unibocconi.it");
bocconiLogo.setAttribute('target', "_blank");