0
我正在使用zclip複製到剪貼板功能,直到我開始使用twitter bootstrap css框架。 現在我似乎無法再使用zclip了,有沒有人有解決方案?zclip&twitter bootstrap:不兼容?
一些測試結果:
這是我如何使用zclip:
$('.test').zclip({
path:"{{ asset('bundles/yopyourownpoet/flash/ZeroClipboard.swf') }}",
copy: 'test',
afterCopy:function(){
alert('The poem has been copied to the clipboard.');
},
});
這正常工作與下面的HTML:
<div class='test'>test</div>
但每當我嘗試使用的圖像,它不再工作,閃光的東西不會出現:
<div class='test'><img src="{{ asset('bundles/yopyourownpoet/images/Star.png') }}" alt="Star" height="100" width="100" /></div>
在我開始使用引導程序之前,這工作得很好... 使用zclip的任何提示& bootstrap,並在圖像上有閃光的東西? 非常感謝。