Created
July 17, 2013 06:54
-
-
Save anonymous/6018218 to your computer and use it in GitHub Desktop.
This is for Jeremy Thompson from Success Community!
This file contains hidden or 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