2007ǯ10

2007ǯ102620:25ǡ١κ5⡡åץ3
perlץߥ - livedoor Blog ̥ơ

ǡ١ǽϤȤʤä

ȤꤢǤ褦ˤʤꡢӤǤ褦ˤʤä
ʤɤäӤΤʬʤ

Ȥ櫓ǰʲURLǹ󤬸ޤ

http://www.ylw.mmtr.or.jp/~jkondou/kabu/index.htm

ޤʤǤ

ǿJavaScriptΥƥ˥åٶΤǵܤƤߤ롣

ۡڡ򳫤ȤIFRAMEȤ礭򥦥ɥȤˤ碌ˡͤ

ʲΥɤȤʤ롣

<html>
<head>
<title>IFRAMEץ</title>
<script language="JavaScript"><!--
function size1()
{

w=document.body.clientWidth+24;
h=document.body.clientHeight+128;
obj = document.getElementById("myframe1");
obj.style.width = w - 50 + "px";
obj.style.height = h + "px";
document.myframe1.width=w;
document.myframe1.height=h;
}

//--></script>

</head>

<body onLoad="size1()">

<iframe src='./cgi-bin/kensakuhyouji.cgi' id='myframe1'
width=800 height=800></iframe>

</body>
</html>

document.body.clientWidthh=document.body.clientHeightǥɥΥ롣
ºݤΥɥΥȤäȰۤʤΤ+24Ȥ+128Ĵ롣

obj = document.getElementById("myframe1");id=myframe1ꤷ<IFRAME>ξobj˼

obj.style.widthobj.style.heightꤹ뤳Ȥˤꡢ<IFRAME>widthheightͳѹǤ롣

ʤʤʥʴؿǤ


2007ǯ102023:41ǡ١κ4⡡ӥ塼3


perlץߥ - livedoor Blog ̥ơ

ǡ١Ĵ˲ưϤᡢǡǤƤ롣

13ޤǤǡˡͤƤ󥿡ͥåȰե뤫μߤä

äȰääΤƱ˥ۡڡɽȡ֤äƥ󥿡ͥåȰե¸ǤʤȤ뤳Ȥä

5äȤˡIFRAMEɽμ¤˰ե¸뤳ȤǴ˼뤳ȤȰ٤ä

ϰʲΤȤꡣ

$j=$FORM{'page'}*30;

for($i=$j;$i<30+$j;$i++){
$ij=$DATA[$i];
$file="***/index.cfm?scode=$ij";
sleep(5);
print "iframe src=\"$file\" width=\"320\" height=\"120\"/iframe\n";
}

30ĤIFRAME5äȤ˳Ƥ

5ڡʬ򤺤餷ƹԤ150ڡʬɽ

ϰ쵤˰ե뤫ߡ

ޤޤ

ơ褦䤯٤ϥǡ١ɽץब

http://www.ylw.mmtr.or.jp/~jkondou/test/kabutest.htm

ɽƤߤ

䡢ͤ¤˶ᤤϤȤǥȤǤ褦ˤ

ϡ󤢤ҤܤǸȴǤ褯褯ȤäƤȡäѤꥤ󥿡ͥåȿʹ򸫤ʤȾܺ٤ʬޤ֤ä

ȤʪʤΤʡ

Ȥꤢưǵˤʤäʪä顢󥿡ͥåȿʹ򸫤ȤȤǹԤäƤߤ褦