This topic created in 5497 days ago, the information mentioned may be changed or developed.
本地测试已经正常。。。传到一台03SERVER上也已经正常运行。。。
只是后台登录成功后显示是空白!!!!!
源码正常显示该显示的IFRAME。。和本地测试一模一样。
如果输入单个IFRMAE页面的地址显示,操作也都正常。。。。
就是这些个IFRAME放到一块就显示空白了。。。。。
10 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
kojp Jun 15, 2011
换了三款浏览器。。。效果依旧。我一直认为,IFRRAME只要客户端有关系呀。。。怎么可以和服务器搭上关系呢????
|
 |
|
2
kojp Jun 15, 2011
上代码: main.html [code] <frameset name="defaultfream" rows="62,*,23" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="main_topbar.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" /> <frameset name="myFrame" cols="171,8,*" frameborder="no" border="0" framespacing="0"> <frame src="main_ipanel.php" name="mainFrame"frameborder="no" scrolling="No" id="leftFrame" noresize="noresize"/> <frame src="main_callleftmenu.php" name="switchFrame" frameborder="no" scrolling="No" noresize="noresize" id="midFrame" title="midFrame" /> <frame src="main_right_main.php" name="right_main" frameborder="no" scrolling="auto" noresize="noresize" id="mainFrame" title="mainFrame" /> </frameset> <frame src="main_status_bar.php" name="bottomFrame" frameborder="no" scrolling="No" noresize="noresize" id="bottomFrame" /> </frameset> <noframes> [/code]
|
 |
|
3
kojp Jun 15, 2011
03SERVER:
http://localhost/admin/main.php -------------->空白 http://localhost/admin/main_status_bar.php ---------------->正常
xp: http://localhost/admin/main.php -------------->正常 http://localhost/admin/main_status_bar.php ---------------->正常
|
 |
|
4
kojp Jun 15, 2011
是不是要改下标题???
|
 |
|
5
kojp Jun 16, 2011
好吧。。。我继续GOOGLE。。。
|
 |
|
6
zythum Jun 16, 2011
你好,自言自语的同学。 其实这么看朱一这边也看不出什么要不试试在src的路径上面加个./试试。应该是页面没有导入进来。 比如 src="main_topbar.php" 改称 src="./main_topbar.php"试试。
|
 |
|
7
cmonday Jun 16, 2011
我也一头雾水,朱一说的方法可以试试,不行的话改成完整路径试试能不能行,比如src="main_topbar.php" 直接写成 src="http://localhost/admin/main_status_bar.php"试试。
还有我觉得这个不能叫iframe吧……
|
 |
|
8
cmonday Jun 16, 2011
抱歉,图方便复制粘贴,把路径写错了……你应该明白我的意思吧~
|
 |
|
9
kojp Jun 17, 2011
谢谢各位同鞋~~~~~~~ 路径问题我先前就测试了哦,用绝对路径都不行!!! 而且除了SERVER03上。。。本机和另外一台测试机的测试都是正常的呀。。。。
后来走了个偏方。。。 不用SMARTY。。直接在main.php 里面 写入frameset 路径调好。一切正常。。。
|
 |
|
10
kojp Jun 17, 2011
但还有一个诡异的问题。。。。 main1.php [code] <?php echo "test" ?> <frameset name="myFrame" cols="171,8,*" frameborder="no" border="0" framespacing="0"> <frame src="main_ipanel.php" name="mainFrame"frameborder="no" scrolling="No" id="leftFrame" noresize="noresize"/> <frame src="main_callleftmenu.php" name="switchFrame" frameborder="no" scrolling="No" noresize="noresize" id="midFrame" title="midFrame" /> <frame src="main_right_main.php" name="right_main" frameborder="no" scrolling="auto" noresize="noresize" id="mainFrame" title="mainFrame" /> </frameset> [/code]
main2.php [code] <frameset name="myFrame" cols="171,8,*" frameborder="no" border="0" framespacing="0"> <frame src="main_ipanel.php" name="mainFrame"frameborder="no" scrolling="No" id="leftFrame" noresize="noresize"/> <frame src="main_callleftmenu.php" name="switchFrame" frameborder="no" scrolling="No" noresize="noresize" id="midFrame" title="midFrame" /> <frame src="main_right_main.php" name="right_main" frameborder="no" scrolling="auto" noresize="noresize" id="mainFrame" title="mainFrame" /> </frameset> <?php echo "test" ?> [/code]
main1空白 main2正常。。。。。 诡异还是?
|