POST TIME:2020-03-28 18:49
一直用IE、傲游、搜狗、360等幾個(gè)瀏覽器,看著自己網(wǎng)站,也沒有感覺什么不對(duì)的地方。今天有個(gè)熱心的朋友告訴我,我的網(wǎng)站在火狐瀏覽器里,幻燈片標(biāo)題不全。自己安裝 firefox后一看,果真如此。先謝謝那位熱心的朋友了,現(xiàn)在已經(jīng)解決了。
織夢(mèng)模板的flash幻燈片在 firefox里標(biāo)題顯示不全的解決辦法:
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="{dede:global name='cfg_templeturl'/}/img/slide.swf">');
document.write('<param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="{dede:global name='cfg_templeturl'/}/img/slide.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
紅字部分的 focus_height ,改為swf_height,即可。