-
-
Save TonyRenHK/0048374a75b3cad9214e3a52bcb7352e to your computer and use it in GitHub Desktop.
This is for Jeremy Thompson from Success Community!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript"> | |
function hideReportCaption(){ | |
var htmlElements = document.getElementsByTagName('h2'); | |
for(var index=0; index<htmlElements.length; index++){ | |
if(htmlElements[index].innerHTML=='Report'){ | |
htmlElements[index].style.display='none'; | |
} | |
} | |
} | |
function checkUserAndLoad(){ | |
if(window.UserContext.userId!='005900000018c43'){ | |
document.getElementById('report').style.display='none'; | |
hideReportCaption(); | |
} | |
else{ | |
document.getElementById('report').style.display=''; | |
} | |
} | |
</script> | |
</head> | |
<body> | |
<iframe id="report" src="/00O90000003w0yW?isdtp=mn" style="border:none; width:1024px; height:480px" onLoad="checkUserAndLoad()"> | |
</iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment