You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In Dashboard Menu, go to Custom Header and add the following code.

<script type="text/javascript">
$(function(){
	//iterate thru iframe elements
	//$("iframe").each(function(){
	//wait for iframe to load is a better idea
	$('iframe').on('load', function(){
    	$(this).contents().find("a").attr("target", "_top");
	});
});
</script>

Every link found in the portlet will now open in the parent frame. You may adjust the code accordingly to suit your needs.

  • No labels