杨程和黄旭:网页调用JS文件,,文件内容为什么会发生位置变化????
来源:百度文库 编辑:查人人中国名人网 时间:2024/04/30 11:18:53
我的JS文件代码如下:
document.writeln("<script language=javascript src=\"http:\/\/a.keyrun.com\/pcode.php?username=gpyuyu&repl=1&adsuser=lfxxj&adsid=784&iw=760&ih=100&mode=1\"><\/script>");
document.writeln("<p> ");
document.writeln("<\/p>");
上面是一个广告,,,下面是一行空格..
但在网页上却是: 一行空格在上,,,广告图片在下,,,为什么会这样呢??
有哪位大侠知道不??
IF怎么用啊??
document.writeln("<script language=javascript src=\"http:\/\/a.keyrun.com\/pcode.php?username=gpyuyu&repl=1&adsuser=lfxxj&adsid=784&iw=760&ih=100&mode=1\"><\/script>");
document.writeln("<p> ");
document.writeln("<\/p>");
上面是一个广告,,,下面是一行空格..
但在网页上却是: 一行空格在上,,,广告图片在下,,,为什么会这样呢??
有哪位大侠知道不??
IF怎么用啊??
用IF吧,,JS定位不是那么好的