My Solution in Javascript
所在版块:求学狮城 发贴时间:2005-08-08 14:12

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
<html>
<head>
<title>Javascript - for loop example syntax </title>

<script language=javascript type="text/javascript">
var i;

for (i =151; i <=200; i++) {
document.write('<iframe name="home" src="http://xxx.xxxx.xxxx.xxxx/' + i + '/"

frameborder="0" allowtransparency="true" SCROLLING=NO width="100%" height="500">

</iframe>')
}

</script>

</head>
<body>

</body>
</html>
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
坛子里有没有网络高手,请进 大猩猩   (1105 bytes , 589reads )
My Solution in Javascript 大猩猩   (383 bytes , 263reads )
Problem solved... Thanks... Use method 1. 大猩猩   (0 bytes , 216reads )
can you post your solution, so that others will benefit as well? icky   (1 bytes , 205reads )
不能使用Linux 大猩猩   (0 bytes , 202reads )