Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Add togetherjs to your Tableau Server implementation for real-time collaboration on data visualizations
<script src="https://togetherjs.com/togetherjs-min.js"></script>
<script type="text/javascript">
// add button for viz talk
window.onload = function() {
var buttons=document.getElementsByClassName('tab-masthead-toolbar')[0];
var new_button=document.createElement('a');
var new_button_text=document.createTextNode('VizTalk');
new_button.setAttribute('onclick','TogetherJS(this); return false;');
new_button.setAttribute('class','tab-masthead-toolbar-button');
new_button.setAttribute('style','padding: 4px 8px; border: 1px solid transparent; text-decoration: none; cursor: pointer; display: inline-block; vertical-align: top; font-size: 12px; color: rgb(90, 90, 90); background-color: transparent;');
new_button.appendChild(new_button_text);
buttons.appendChild(new_button,buttons);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.