You need to sign in to do that
Don't have an account?
lettucehead
Add <chatter:newsfeed /> to a VF page
I want to add <chatter:newsfeed /> to a VF page but I want to be abe to Show and Hide the Chatter NewsFeed just like we do on the Home Tab.
Aynone know how to do this?
Thsi works:
<script>
var toggle=true;
function showHide() {
if( toggle ) document.getElementById("chatterWrapper").style.display = "block";
else document.getElementById("chatterWrapper").style.display = "none";
toggle = !toggle;
}
</script>
<div style="cursor:pointer" onclick="showHide();">SHOW/HIDE</div>
<div id="chatterWrapper" style="display:none;">
<chatter:newsfeed />
</div>