Added a script
This commit is contained in:
parent
2c8a91ac02
commit
16399b08bf
14
Wiki.html
14
Wiki.html
@ -1 +1,15 @@
|
|||||||
|
<script>
|
||||||
|
function cleanContent()
|
||||||
|
{
|
||||||
|
var $iFrameContents = $('iframe').contents(),
|
||||||
|
$entryContent = $iFrameContents.find('div.file-view');
|
||||||
|
$iFrameContents.find('html').replaceWith($entryContent);
|
||||||
|
// Next restore the style-sheets
|
||||||
|
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
|
||||||
|
}
|
||||||
|
$('iframe').load( function(){
|
||||||
|
//put your iframe code here
|
||||||
|
cleanContent();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<iframe width="100%" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs" frameborder="0"></iframe>
|
<iframe width="100%" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs" frameborder="0"></iframe>
|
Loading…
x
Reference in New Issue
Block a user