我正在尝试修改此输出;

<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&amp;width=30&amp;height=20" wmode="transparent"></div>


我想将snippet-clipboard类的高度从20px更改为30px,但我似乎做不到,我假设它位于jquery.zclip.js(link)中。

如果有人可以帮助我,那就太好了!

编辑;
这是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&amp;width=30&amp;height=30"

09-19 05:40