And now look what happened ? Ah! I got rid of that piece sh*t from there. Woo Hoo!     Have a Great Weekend,   Deepak", "upvoteCount": 0, "url": "https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8GeRSAV", "datePublished": "2013-11-29T18:15:07.000Z", "author": { "@type": "Person", "name": "Deepak K Anand", "url": "https://trailblazers.salesforce.com/profileView?u=00530000007r9WpAAI", "affiliation": { "@type": "Organization", "name": "‎‎‎‎‎‎Zoom Communications, Inc." } } }, "suggestedAnswer": [ { "@type": "Answer", "text": "Great ! Exactely what i wanted to do...but i didn't know how to do...   Thanks a lot Deepak, i'm going to try   Have a good week-end   Virginie (Paris)", "upvoteCount": 0, "url": "https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8GeRSAV", "datePublished": "2013-11-29T19:45:12.000Z", "author": { "@type": "Person", "name": "Admin User", "url": "https://trailblazers.salesforce.com/profileView?u=00530000009qJ0uAAE", "affiliation": { "@type": "Organization", "name": "--" } } } ] } }
Skip to main content
Admin User a posé une question dans #Data Management
I created a homepage component but the name of this component always appears on the top of the component of my homepage.

 

It's clearly not beautiful..

 

Any idea?

 

Thanks

 

Virginie
5 réponses
  1. 29 nov. 2013, 18:15
    Hey Virginie,

     

    #.Awesome Did you build that ? Pretty Nice. :-)

     

    Well, a while ago I too had one HTML Home Page Component like that:

     

    Hey Virginie, #.Awesome Did you build that ? Pretty Nice.

     

    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:

     

    User-added image

     

    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!

     

    User-added image

     

    Have a Great Weekend,

     

    Deepak
0/9000