我正在尝试修改此输出;
<div class="snippet-clipboard" style="position: absolute; width: 30px; height: 20px; z-index: 99; left: 771px; top: 362px; "><embed id="ZeroClipboardMovie_1" src="zclip/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="30" height="20" name="ZeroClipboardMovie_1" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=1&width=30&height=20" wmode="transparent"></div>
我想将片段剪贴板类的高度从 20px 更改为 30px,但我似乎做不到,我假设它在 jquery.zclip.js (链接( 中。
如果有人能帮助我,那就太好了!
编辑;这是jquery.zclip.js的摘录:
// create floating DIV above element
this.div = document.createElement('div');
this.div.className = "zclip";
this.div.id = "zclip-" + this.movieId;
$(this.domElement).data('zclipId', 'zclip-' + this.movieId);
var style = this.div.style;
style.position = 'absolute';
style.left = '' + box.left + 'px';
style.top = '' + box.top + 'px';
style.width = '' + box.width + 'px';
style.height = '' + box.height + 'px';
style.zIndex = zIndex;
试试这个
width="30" height="30"
flashvars="id=1&width=30&height=30"