The script below enables you to remove the Dashboard print icon for a specific Dashboard as sometimes it gets confusing for users between the answers print icon and dashboard icon
Insert a Text box anywhere on the dashboard "Contains HTML"
Paste the following code into the text box
<script type="text/javascript">
window.setTimeout(removePrintIcon,100);
function removePrintIcon()
{
if (document.body!=null)
{
var rows =document.getElementsByTagName('a');
for(var i=0;i<rows.length;i++)
{
if(rows[i].title=="Printer Friendly")
rows[i].style.display='none';
}
}
else
window.setTimeout(removePrintIcon,100);
}
</script>
Thats it view your dashboard and the dashboard print icon for that particular dashboard will disappear.
Insert a Text box anywhere on the dashboard "Contains HTML"
Paste the following code into the text box
<script type="text/javascript">
window.setTimeout(removePrintIcon,100);
function removePrintIcon()
{
if (document.body!=null)
{
var rows =document.getElementsByTagName('a');
for(var i=0;i<rows.length;i++)
{
if(rows[i].title=="Printer Friendly")
rows[i].style.display='none';
}
}
else
window.setTimeout(removePrintIcon,100);
}
</script>
Thats it view your dashboard and the dashboard print icon for that particular dashboard will disappear.
Note: only a member of this blog may post a comment.