1
好吧,我有一個非常簡單的問題。我有一個閃存對象的div。該div將在用戶單擊Flash演示文稿的縮略圖時觸發的模式中彈出。當我嘗試使用縮放效果進行縮放或縮小時會出現問題,它會出錯。到底是怎麼回事??下面是HTML:JQuery UI縮放效果不適用於Flash對象
<div id="modal"><object id="presentation" width="720" height="576" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value=" video.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#c0c0c0" />
<param name="allowFullScreen" value="true" />
<embed src=" video.swf" quality="high" bgcolor="#c0c0c0" width="720" height="576" name="presentation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" allowFullScreen="true" /></object></div>
和JavaScript:
$(function() {
$("#modal").dialog({
autoOpen: false,
width: 750,
height: 635,
modal: true,
show: "scale",
hide: "fade"
});
$("#video a").click(function() {
$("#modal").dialog('open');
return false;
})
});
任何想法?