-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyPage.html
30 lines (23 loc) · 1.35 KB
/
myPage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<iframe id="letter 3d" src="letter3d.html" frameborder="0" border="0" scrolling="0" onload="iFrameHeightInner(event)"></iframe>
<iframe id="letter twinkling" src="twinklingFont.html" frameborder="0" border="0" onload="iFrameHeightInner(event)" scrolling="0"></iframe>
<script type="text/javascript" language="javascript">
function iFrameHeightInner(event) {
//var ifm= document.getElementById("iframepage");
var ifm=event.srcElement||event.target;
var subWeb= ifm.contentDocument;
//if(subWeb == null) {document.write("<p>null subWeb !!!!!!!!!!</p>");}
//var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;
//if( ifm == null){ document.write("<p>iframe null</p>");}
//else{ document.write("<p>"+ifm+"</p>");}
if(ifm != null && subWeb != null) {
//ifm.height = 1024;
ifm.height = subWeb.body.scrollHeight + subWeb.body.scrollHeight ;
//ifm.width = subWeb.body.scrollWidth + subWeb.body.scrollWidth;
//ifm.height = document.body.scrollHeight;
ifm.width = window.screen.width - 100;
}
}
</script>
<br><a href="textPixelTotal.html" target="window.parent"> テクスト ピクセル </a><br>
<br><a href="textShadow.html" target="window.parent"> テクスト シャドウ </a><br>
<a href="milky.html"> ミルク </a>