我在SS默认模板里,在index.html.php文件的代码最后面插入了SWF的文件,在DW里面测试能正常显示SWF,但是用浏览器浏览,SWF那个区域只显示空白的,有人知道这是为什么吗?>附上代码:- <!--{if !empty($ads['pageoutindex'])}-->
- $ads[pageoutindex]
- <!--{/if}-->
- <div id="flash">
- <script type="text/javascript">
- AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','960','height','576','src','index','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','index' ); //end AC code
- </script>
- <noscript>
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="960" height="576">
- <param name="movie" value="index.swf" />
- <param name="quality" value="high" />
- <embed src="index.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="576"></embed>
- </object>
- </noscript>
- </div><!--flash end-->
- <!--{template footer}-->
复制代码 下面是CSS文件的代码:- /* nav style */
- #nav { width:960px; overflow:hidden; margin:0 auto 10px; background:#D3EAF0; }
- .main_nav { height:34px; overflow:hidden; padding-top:1px; background:#1A4963; color:#FFF; font-size:14px; }
- .main_nav ul { width:94%; overflow:hidden; padding:0 0 0 1.3%; }
- .main_nav ul li { float:left; margin-right:1px; }
- .main_nav ul li a { float:left; display:block; padding:9px 15px; color:#FFF; }
- .main_nav .current a { background:url(../images/nav_current_bg.gif) repeat-x; color:#295B72; font-weight:700; text-decoration:none!important; }
- ul.ext_nav { padding:7px 12px; color:#369; line-height:1.9em; }
- ul.ext_nav li { float:left; margin-right:8px; white-space:nowrap; }
- ul.ext_nav a { margin-right:2px; color:#295B72; }
- .order_nav { padding:7px 12px; color:#369; line-height:1.9em; }
- .order_nav li { height:1.9em; overflow:hidden; }
- .order_nav li a { margin-left:2px; color:#295B72; }
- .order_nav em { margin-right:3px; color:#295B72; }
- #contribute_op { position:absolute; top:140px; left:15px; padding:5px 15px; border:1px solid #D8D8D8; background:#F7FDFD; }
- #contribute_op li { margin:2px 0; }
- #contribute_op li a { color:#369;}
- /* flash style */
- #flash{ width:960px; height:576px; float:center; margin:0 15px 0 10px; display:inline;}
-
- /* footer style */
- #footer { width:960px; overflow:hidden; margin:0 auto; padding:6px 0; text-align:center; line-height:20px; }
- .copyright, .copyright a { color:#666;}
- #footer_top { height:50px; margin-bottom:10px; background:#D3EAF0; }
- .good_link { float:left; width:500px; overflow:hidden; margin:15px 0 0 10px; color:#369; text-align:left; }
- .good_link a { margin:0 3px; color:#295B72; }
- .footer_search { float:right; width:340px; padding:13px 0 0 0; }
- .footer_search .input_tx { padding:3px; }
- .footer_search select { padding:1px 2px 2px 2px; }
复制代码 |