
It's clearly not beautiful..
Any idea?
Thanks
Virginie
Hey Virginie,
#.Awesome Did you build that ? Pretty Nice. :-)
Well, a while ago I too had one HTML Home Page Component like that:
and that caption that says - Salesforce1 just makes the whole thing look ugly! And so I had get my crooked mind up and start cookin somethin and so did I write this little JavaScript in my Home Page Component:
JS:
<script type ="text/javascript">
var h2Tags = document. getElementsByTagName ('h2');
for(var i=0; i < h2Tags. length ; i++){
if(h2Tags[i]. innerHTML == 'Salesforce1'){
h2Tags[i]. style . display ='none';
}
}
</script>
<iframe src ="/apex/Salesforce1" frameborder ="0" style ="width:100%; height:250px"></iframe>
And now look what happened ? Ah! I got rid of that piece sh*t from there. Woo Hoo!
Have a Great Weekend,
Deepak