Hub Hack: Open Tiles in a New Tab

Follow

Use this Custom Code snippet to force Item Tiles to open in a new browser tab when clicked.


 

Details

  • Type: JavaScript
  • Placement: Body Bottom

 

Code

<script>
/*-- 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();
}
</script>
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.