Open Tiles in a New Tab

October 5, 2016 Uberflip Customer Success

A simple line of code that will force Tiles in your Hub to open in a new browser tab.

Add this to the JavaScript section of your Hub, to Hubs.onLoad, Hubs.onPageChange, and Hubs.onItemsLoaded.

/*-- Tiles open in new tabs, modify jQuery selector to specify target --*/
function newTabs() {
	$('.tile a.item-link').attr({"target": "_blank", "data-internal": "false"}).removeClass('hooked').off();
}
Previous Article
Put a Custom Banner on a Stream
Put a Custom Banner on a Stream

Next Article
Remove Logo in the Top Navigation Bar
Remove Logo in the Top Navigation Bar