Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<iframe id="iframeWin" | <iframe id="iframeWin" | ||
src="/wiki/Special:WhatLinksHere/</html>{{PAGENAME}}<html>" | src="/wiki/Special:WhatLinksHere/</html>{{PAGENAME}}<html>" | ||
style="border:none | style="border:none;width:100%;display:none;" | ||
title="What Links Here"> | title="What Links Here"> | ||
</iframe> | </iframe> | ||
Line 32: | Line 32: | ||
window.onload = function() { | window.onload = function() { | ||
var iframe = document.getElementById("iframeWin"); | var iframe = document.getElementById("iframeWin"); | ||
iframe.height = iframe.contentWindow.document.body.scrollHeight; | iframe.height = iframe.contentWindow.document.body.scrollHeight; | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:44, 7 July 2023
Usage